select all correct answers: what are the key differences between combinational and sequential logic/circuits?
1. Outputs of sequential circuit depend solely on current input values
2. Outputs of sequential circuit depend solely on past t input values
3. sequential circuit can have memory
4. sequential circuit cannot have memory
5. Outputs of combinational circuit depend solely on current input values
6. Outputs of combinational circuit depend solely on past input values
7. Combinational circuits can have memory 8. Combinational circuits cannot have memory

Answers

Answer 1

Answer:

The correct answers are:

1. Outputs of sequential circuit depend solely on current input values

3. sequential circuit can have memory

5. Outputs of combinational circuit depend solely on current input values

8. Combinational circuits cannot have memory

Explanation:

Combinational circuits produce an output based solely on the current input values, without any regard for past input values or previous circuit behavior. These circuits do not have any memory element.

On the other hand, sequential circuits produce an output based on both the current input values and past input values, which are stored in some form of memory element. Therefore, sequential circuits have memory and produce output based on the input and the state of the circuit.

So, options 2, 4, 6, and 7 are incorrect.


Related Questions

Which types of networks cover large geographical areas such as several states? PAN
MAN
LAN
WAN

Answers

MAN

Explanation:

Metropolitan Area Network

Local Area Network

Wide area Network

How to square a number in java.

Answers

Answer:

num**2

Explanation:

To square a number in Java, you just take the number and use two asterisks (**) to denote an exponent, and then connect a 2 to it.

For example, if your number is 5:

5**2 in Java means 5^2, which is 25.

Just like how 5**3 in Java means 5^3.

Hope this helps.

Challenge Lab 11-1: Change Virtual Memory Settings in Windows In this lab, you will change virtual memory settings on a Windows 10 computer. You want to make your virtual memory a fixed size and, if possible, move it to another physical disk on your computer. Get your instructor’s approval if you plan to use classroom computers for this lab. Set the virtual memory to 1.5 times the size of physical RAM and move the page file to a different disk. If you don’t have a second disk, move the page file to a different volume. (If you have only one volume, don’t move the page file.)Answer the following questions: Discussion Questionsa. How did you check the amount of RAM installed on your computer?b. What did you have to do before you could change the virtual memory settings?c. What are the advantages of moving the page file to a different disk?

Answers

Answer:

To answer the questions:

a. To check the amount of RAM installed on a Windows 10 computer, you can follow these steps:

Press the Windows key + R to open the Run window.Type "msinfo32" and press Enter.The System Information window will open, displaying information about your system, including the amount of RAM installed.

b. Before you can change the virtual memory settings, you may need to make sure that you have administrator privileges on the computer. You can do this by right-clicking on the Start button and selecting "Computer Management" from the context menu. From there, you can click on "Local Users and Groups" and then "Users," and double-click on your user account to open the Properties window. Make sure that your account is listed as an administrator in the "Member Of" tab.

c. There are several advantages to moving the page file to a different disk:

Improved performance: If the page file is on a different disk from the one that the operating system and applications are installed on, it can reduce the amount of disk activity on the main disk and improve overall system performance.Increased space: If you are running out of space on the main disk, moving the page file to a different disk can free up space on the main disk.Better reliability: If the page file is on a separate disk, it can reduce the risk of data loss in the event of a disk failure on the main disk.Enhanced security: If the page file is on a separate disk, it can be more difficult for unauthorized users to access sensitive data stored in the page file.

Explanation:

In a university database that contains data on students,
professors, and courses: What views would be useful for a
professor? For a student? For an academic counselor?

Answers

In university database the views that would be useful for a professor is Course Roster View, Gradebook View, Course Schedule View. For student it would be Course Catalog View, Class Schedule View, Grades View. For academic counselor it would be Student Profile View, Degree Audit View, Academic Advising Notes View.

For a professor:

Course Roster View: A view that displays the list of students enrolled in the professor's courses. This view can provide essential information about the enrolled students, such as their names, contact details, and academic performance.Gradebook View: A view that allows the professor to access and update the grades of their students. This view can provide a convenient way for professors to track and manage student performance throughout the semester.Course Schedule View: A view that shows the professor's teaching schedule, including the dates, times, and locations of their classes. This view helps professors stay organized and plan their daily activities accordingly.

For a student:

Course Catalog View: A view that provides information about available courses, including their titles, descriptions, prerequisites, and instructors. This view helps students explore and select courses for registration.Class Schedule View: A view that displays the student's schedule for the current semester, showing the dates, times, and locations of their enrolled classes. This view allows students to keep track of their class timetable and avoid scheduling conflicts.Grades View: A view that shows the student's grades and academic performance in each course they have taken. This view helps students monitor their progress, identify areas of improvement, and calculate their GPA.

For an academic counselor:

Student Profile View: A view that presents comprehensive information about a specific student, including their personal details, academic history, enrolled courses, and any relevant notes or comments. Degree Audit View: A view that displays the student's progress towards completing their degree requirements. This view shows the courses the student has completed, the ones in progress, and the ones remaining. Academic Advising Notes View: A view that allows counselors to add and access notes or comments regarding their interactions and discussions with students. This view helps counselors maintain a record of important conversations and track the progress of their advising sessions.

To learn more about database: https://brainly.com/question/518894

#SPJ11

A screen on Evelyn's cell phone can hold an odd or an even number of apps. If she has an odd number of apps, how can she arrange them on 2 screens?

Answers

To arrange an odd number of apps on two screens, Evelyn can put (N-1)/2 apps on one screen and 1 app on the other.

When Evelyn has an odd number of apps on her cell phone, she may encounter a challenge when trying to arrange them on two screens evenly. However, with a little creativity and strategic placement, she can find a solution.

Let's assume Evelyn has N apps, where N is an odd number. She can begin by placing (N-1)/2 apps on one screen. This screen will hold the majority of the apps, as it can accommodate an even number of them. Now, Evelyn is left with one app to place.

To address this, she can choose one of the apps from the first screen and move it to the second screen, making it uneven. This action leaves her with (N-1)/2 - 1 apps on the first screen and 1 app on the second screen. While this setup is not perfectly even, it ensures that all the apps are accounted for on both screens.

Alternatively, if Evelyn desires a more balanced arrangement, she can distribute the apps differently. She can place (N+1)/2 apps on one screen and (N-1)/2 apps on the second screen. This configuration ensures that the number of apps on each screen differs by only one.

In either case, Evelyn can prioritize her most frequently used or essential apps on the first screen, making them easily accessible. The second screen can hold less frequently used or secondary apps.

By employing these strategies, Evelyn can overcome the challenge of arranging an odd number of apps on two screens, allowing for efficient organization and easy access to all her applications.

Learn more about Odd Apps

brainly.com/question/32284707

#SPJ11

Yael would like to pursue a career where she helps design office spaces that are comfortable and help workers avoid injuries. What should she study? plsss help me with this question.

A. ergonomics

B. semantics

C. botany

D. genomics

Answers

The option that that  Yael should study is A. Ergonomics.

What is the study about?

Ergonomics is the scientific study of designing products, systems, and environments to optimize human comfort and health, including the design of office spaces.

Therefore, Yael could study ergonomics to gain the skills and knowledge necessary to design office spaces that are safe, efficient, and comfortable for workers. An ergonomist might work with architects, interior designers, and other professionals to ensure that the design of an office space takes into account the needs of the workers who will be using it.

Learn more about injuries from

https://brainly.com/question/19573072

#SPJ1

Which of the following Information Technology career fields generally requires the lowest level of education for an entry-level position? Information Services and Support Network System Administration Programming and Software Development Interactive Media

Answers

Answer:

The Information Technology career fields that generally requires the lowest level of education for an entry-level position would be Information Services and Support.

Explanation:

Answer:

A - Information Services and Support

Explanation:

I just did it

Can anyone help me with this question?
What are Object Query Languages?

Answers

it is an object oriented database that is modeled after the SQL. hope that helps :)

Answer:

Object Query Languages (OQL) are query languages used to access, query, and manipulate data stored in an object-oriented database. OQL is similar to SQL, but it is tailored to the object-oriented model, allowing queries to be written in terms of objects and their relationships. OQL queries are commonly used to retrieve and modify data stored in an object-oriented database, as well as to perform operations such as creating and dropping objects and classes.

Go to this link: https://platform.breakoutedu.com/game/play/going-buggy-78#

And check you answer first!!! I’ll give brainliest!!! Plz help ASAP!

Go to this link: https://platform.breakoutedu.com/game/play/going-buggy-78#And check you answer first!!!

Answers

Answer:

a) Move straight -->

b) Turn left , arrow pointed in the down ward direction

c) Turn left  <--

d) Turn right, arrow pointed in the up ward direction

e) Turn right  -->

f) Turn left, arrow pointed in the up ward direction

g) Turn left <--

Explanation:

The correct set of symbol would be

a) Move straight -->

b) Turn left , arrow pointed in the down ward direction

c) Turn left  <--

d) Turn right, arrow pointed in the up ward direction

e) Turn right  -->

f) Turn left, arrow pointed in the up ward direction

g) Turn left <--

People who make money investing in the stock market.....
A) get certain tax breaks.
B) should sell quickly to avoid taxes.
C) have to pay a fee to keep a stock.
D) must pay taxes on profits.
The answer is D ^^^

Answers

I think its D hope that helped

Answer:

D must pay taxes on profits.

Explanation:

All of the following are examples of network operating systems EXCEPT ________.
A) Windows 10
B) Linux
C) macOS
D) MS-DOS

Answers

The examples of network operating systems are Windows 10, Linux, macOS except MS-DOS.

why are the  MS-DOS example of net work operating system except?

MS-DOS is a command-based system where commands are entered in the textual format. Hence, this is not an example of a network operating system. There are only a few systems compatible with this OS.

(A)  Windows 10 is the release of the Windows OS. This is not the correct option because it is the perfect example of the specified one. It is used for embedded devices, computers, tablets, etc.

(B)  This is not the correct option as an open-source could not be the network OS. Linux is made of the base component which is a kernel.

(C) This OS is similar to that of Linux but has a better interface. Mac OS is based on a UNIX derivative which contradicts the given statement of the OS. Hence, this option is not correct.

To learn more about net work operating system refers to;

brainly.com/question/4325836

#SPJ4

what will the value of x be after the following nested loop executes in matlab (enter a number)? x = 0 ; for r = 1 : 3 for c = 1 : 2 x = x c ; end end

Answers

The number of times the outer loop executes, which is 3. Therefore, x = 6.

What is outer loop execute?

Outer loop is a type of looping structure in programming. It is used to execute a block of code a certain number of times. Outer loop is also known as the outermost loop because it is the loop that is the furthest out from the inner loop. It is typically used when you need to repeat a process multiple times, such as looping through a list of items. The outer loop is responsible for iterating over the entire list, while the inner loop is responsible for performing some kind of action on each item in the list. Outer loops are commonly used in programming languages such as Java, C#, and Python.

x will have a value of 6 after the nested loop executes. The value of x will increment by 2 every time the inner loop executes, and the inner loop will execute twice every time the outer loop executes, so the final value of x will be 2 times the number of times the outer loop executes, which is 3. Therefore, x = 6.

To learn more about outer loop execute
https://brainly.com/question/30919197
#SPJ4

Please provide an idea for both a personal project and a group
project. The scope needs to be reasonable in size, as the time to
complete the project and the resources will be limited. (you can
provid

Answers

A personal project idea is to create a personal finance tracker to track income and expenses. A group project idea is to create a community garden in a public space, requiring planning, planting schedules, and recruiting volunteers to provide fresh produce for the community.

Personal Project Idea:
Create a personal finance tracker: This project involves creating a spreadsheet or using a personal finance app to track income and expenses. The tracker should include categories for expenses such as rent, food, utilities, entertainment, and savings, as well as a budget for each category. The tracker can be customized to meet individual needs and can be used to identify areas where spending can be reduced and savings can be increased.

Group Project Idea:
Community garden project: This project involves creating a community garden in a public space such as a park or schoolyard. The project would require planning and organizing planting schedules, obtaining necessary supplies such as soil, seeds, and gardening tools, and recruiting volunteers to help with planting, maintenance, and harvesting. The garden can be used to provide fresh produce for the community and can also serve as an educational resource for local schools.

To know more about personal projects, visit:
brainly.com/question/32301757
#SPJ11

How would I add a play again feature to this RPS program in python using a while loop?

import random

choice = input("Enter Rock(R), Paper(P), or Scissors(S): ")

computer = random.randint(1, 3)

if computer == 1:

print("Computer played R.")

elif computer == 2:

print("Computer played P.")

else:

print("Computer played S.")

#Winning conditions

if computer == 1 and choice == "R":

print("Computer played Rock.")

print("Tie")

elif computer == 2 and choice == "P":

print("Computer played Paper.")

print("Tie")

elif computer == 3 and choice == "S":

print("Computer played Scissors.")

print("Tie")

elif computer == 1 and choice == "S":

print("Computer played Rock.")

print("You Lose")

elif computer == 2 and choice == "R":

print("Computer played Paper.")

print("You Lose")

elif computer == 3 and choice == "P":

print("Computer played Scissors.")

print("You Lose")

elif computer == 1 and choice == "P":

print("Computer played Rock.")

print("You Win")

elif computer == 2 and choice == "S":

print("Computer played Paper.")

print("You Win")

elif computer == 3 and choice == "R":

print("Computer played Scissor.")

print("You Win")

Answers

Answer:

import random

playAgain = True;

while playAgain == True:

   choice = input("Enter Rock(R), Paper(P), or Scissors(S): ")

   computer = random.randint(1, 3)

   if computer == 1:

    print("Computer played R.")

   elif computer == 2:

    print("Computer played P.")

   else:

    print("Computer played S.")

#Winning conditions

   if computer == 1 and choice == "R":

    print("Computer played Rock.")

    print("Tie")

   elif computer == 2 and choice == "P":

    print("Computer played Paper.")

    print("Tie")

   elif computer == 3 and choice == "S":

    print("Computer played Scissors.")

    print("Tie")

   elif computer == 1 and choice == "S":

    print("Computer played Rock.")

    print("You Lose")

   elif computer == 2 and choice == "R":

    print("Computer played Paper.")

    print("You Lose")

   elif computer == 3 and choice == "P":

    print("Computer played Scissors.")

    print("You Lose")

   elif computer == 1 and choice == "P":

    print("Computer played Rock.")

    print("You Win")

   elif computer == 2 and choice == "S":

    print("Computer played Paper.")

    print("You Win")

   elif computer == 3 and choice == "R":

    print("Computer played Scissor.")

    print("You Win")

   choice = input("Play Again?")

   if(choice == "n"):

     playAgain = False

   else:

     playAgain = True

Explanation:

Use a boolen variable and a while loop. The while loop will keep looping until it is false. In this case, I have it set up to keep looping unless the user enters n.

Tip: Make sure that all of the code is indented with the while loop.

convert the following decimal number into octal number-147​

Answers

Answer:

The answer for your question is 223

code a statement that tests if the database named testdb exists.

Answers

To test if the database named `testdb` exists, the following statement in SQL can be used:```SHOW DATABASES LIKE 'testdb'```This statement searches for the `testdb` database in the list of databases available and returns a result if it exists. If the database exists, the output will include the name of the database, otherwise, no result will be returned.

The `LIKE` keyword is used to perform a pattern match search for the specified database name.The statement returns a list of databases whose names match the specified pattern. In this case, we are using `testdb` as the pattern to find the database with this name.

The `SHOW` keyword is used to display information about the database, in this case, the list of databases matching the pattern provided.To test if the `testdb` database exists, we can use the SQL statement `SHOW DATABASES LIKE 'testdb'`. This statement searches for the `testdb` database in the list of databases available and returns a result if it exists. If the database exists, the output will include the name of the database, otherwise, no result will be returned. The `LIKE` keyword is used to perform a pattern match search for the specified database name. The statement returns a list of databases whose names match the specified pattern. The `SHOW` keyword is used to display information about the database, in this case, the list of databases matching the pattern provided.

To Know more about database visit:

brainly.com/question/30163202

#SPJ11

Help plz

Write a set of pseudocode instructions to make a peanut butter and jelly sandwich, using
at least five steps. (5 points)

Answers

Answer: 1.) Collect the necessary ingredients and tools:

- jar of peanut butter

- jar of fruit jelly

- two slices of bread

- cutting board (larger that the combined surface areas of the slices of bread)

- butter knife

- tablespoon-sized spoon

2.) Place the cutting board on a stable surface, and the slices of bread side-by-side on the cutting board

3.) Open the jar of peanut butter.

4.) Using the spoon, scoop out 2 tablespoons of peanut butter and deposit in the center of one slice of bread [henceforth known as "Slice 1"].

5.) Using the knife, spread the peanut butter evenly across this side of Slice 1.

6.) Repeat steps 3-5, but with jelly instead of peanut butter and the slice of bread that is not Slice 1 [this second slice will henceforth be known to as "Slice 2"].

7.) Once Slice 1 and Slice 2 each have one side that is evenly coated with its respective spread (peanut butter or jelly), place Slice 2 on top of Slice 1 so that the spreads (peanut butter and jelly) are between the two slices and the externally-facing sides of each slice do not have spreads.

(ok so this is the best answer i can give u don't blame me if it's wrong)

which form of communication is extremely private​

Answers

Intrapersonal Communication

Which note-taking method quickly captures and organizes information?

mapping
Cornell
SQRW
recording

Answers

Answer:

c mapping

Explanation:

Mapping  is a note-taking method that quickly captures and organizes information

What is mapping method in note-taking?

Mapping is known to be s process where one can make use of their comprehension or concentration skills and then they can use in a note taking form.

In this method, it always linked each fact or idea to all other fact or idea. Mapping is known to be a kind of  graphic representation of the work or all the contents of a lecture.

Learn more about mapping  from

https://brainly.com/question/1425367

A(n) __________ is a user who has administrative responsibility for part or all of the database.

Answers

An administrator is a user who has administrative responsibility for part or all of the database.

An administrator is responsible for performing all the administrative tasks, including directing and performing all the activities related to maintaining a thriving database environment.

A database administrator also ensures that the organization’s databases and related applications work efficiently and functionally.

A database administrator should also ensure that data is readily available and protected from loss and corruption.

The administrator should additionally monitor the movement of data in the database.

The database administrator also ensures consistency, quality, and security of data in the database.

Therefore, a database administrator plays a significant role in the functionality and efficiency of a database.

#SPJ4

Help please, it would be much appreciated!

Help please, it would be much appreciated!

Answers

Answer:

Explanation:

ihave no idea

HELP PLEASE 100 POINTS

Use the drop-down menus to complete the steps to access the Compact & Repair tool.

1. Open the database.

2. Go to the
✔ Backstage
view.

3. Click Info and then_________
OR
1. Open the database.
2. Click the_____ tab.

3. In the Tools group, click ________
The program then reduces the size of the database.

Answers

Honestly I’m not too sure because I think different models have different steps to use, but I’d guess the second steps... sorry Im not too sure but that is what I think. If you were leaning towards that one then I’d probably go with it.

Answer:

Explanation:

This is for MS Access:

1. Open the database.

2. Go to the

✔ Backstage

view.

3. Click Info and then__Compact and Repair__

OR

1. Open the database.

2. Click the__Database Tools__ tab.

3. In the Tools group, click ___Compact and Repair Database___

The program then reduces the size of the database.

Which method could be used to convert a numeric value to a string?

Answers

The method that could be used to convert a numeric value to a string is called "ToString()", which is a built-in function in many programming languages that converts a number to its string representation.

ToString() can be used in various programming languages like C#, Java, Python, etc., and it takes the numeric value as an input parameter and returns its string representation. The string representation of a number is a sequence of characters that correspond to the digits in the number, with an optional decimal point and sign.

The method also allows specifying the format of the resulting string, such as the number of decimal places or the use of scientific notation. This conversion is useful for displaying numbers as text or storing them in a text file.

Learn more about numeric value https://brainly.com/question/27922641

#SPJ11

9. What will help you determine the kinds of tools, equipment and utensil you will assemble, sanitize, inspect or check?
a. the kind of product to be produced
b. the method of food processing to be done
c. the raw materials to be processed
d. the availability of tools, equipment and utensils​

Answers

Explanation:

b. the method of food processing to be done

One of the most basic agricultural tools is the tractor, which is designed to break up the soil in order to prepare it for planting
False

True

Answers

False because the tractor doesn’t break up the soil

pls answer i need to turn it in today!!

In computing flowcharts how are decisions represented?

What is the command used most for decisions?

Answers

Answer:

See Explanation

Explanation:

How decisions are represented?

In flowcharts, decisions are represented using diamond shapes (see attachment)

Decisions could be conditional statement or repetition operations which may have the form of loops or iterations.

Either of theses are represented using the diamond shapes.

Take for instance:

To check if a is greater than b... Simply write if a > b i the diamond box

Command used for most decisions

Most decisions are conditional statements; hence, the if command is often used for decisions.

pls answer i need to turn it in today!!In computing flowcharts how are decisions represented?What is

help
If we are looking at the predictor "car type," which can take on the values "sedan" "coupe" "truck" "suv" "van" how many binary decision variables would we need to code this data into a usable format?

Answers

If we are looking at the predictor "car type," which can take on the values "sedan" "coupe" "truck" "suv" "van", we would need 4 binary decision variables to code this data into a usable format.

A binary decision variable is a variable with only two possible values: 1 or 0. The variable is referred to as a binary variable, a binary indicator, or a 0-1 variable .The binary variable is used to answer yes/no questions. the binary variable " the binary variable is set to 0.To code the car type data into a usable format, we can use the binary decision variables.

We can use four binary variables to code the data into a usable format. We can use one variable for each category of car type. The values of the binary variables for the different categories are as follows:Sedan - 1000Coupe - 0100Truck - 0010SUV - 0001Using this format, if a car is a sedan, its binary decision variable would be set to 1000. If a car is a coupe, its binary decision variable would be set to 0100, and so on.

To know more about sedan visit:

https://brainly.com/question/24286177

SPJ11

Technology is the machinery and equipment developed from the application of

Answers

Answer:

Technology is the application of scientific knowledge for practical purposes, especially in industry. It involves advances in computer technology, machinery and equipment developed from the application of scientific knowledge and a branch of knowledge dealing with engineering or applied sciences.

Explanation:

Imagine you're planning a wedding, and you need to transport all your wedding guests from the ceremony to the reception. A bus can carry 40 passengers. Please write a program to input the names of the bride(s) and groom(s), and how many guests are coming to the wedding. Then output the names of the couple, followed by how many buses are needed, and the number of extra people you could carry with those buses (empty seats)

Answers

To begin with, let's start by writing a program that can take in the necessary inputs and perform the calculations we need.

First, we need to ask the user for the names of the bride and groom, and how many guests are attending. We can do this using the input() function in Python, like so:
bride = input("Enter the name(s) of the bride(s): ")
groom = input("Enter the name(s) of the groom(s): ")
guests = int(input("Enter the number of guests attending the wedding: "))Next, we need to calculate how many buses we will need to transport all the guests. Since each bus can carry 40 passengers, we can divide the total number of guests by 40 and round up to the nearest integer to get the number of buses required. We can do this using the math.ceil() function, like so:
import math
buses_needed = math.ceil(guests/40)Finally, we need to calculate how many extra people we can carry with those buses. To do this, we can subtract the total number of guests from the number of buses times 40. If the result is positive, that means we have some extra seats on the buses that we can fill with additional guests. If the result is negative, that means we don't have enough buses to transport everyone. We can do this using a simple calculation, like so:
extra_seats = (buses_needed * 40) - guestsNow that we have all the necessary information, we can output it to the user using the print() function, like so:
print("Wedding details:")
print("Bride(s): " + bride)
print("Groom(s): " + groom)
print("Number of guests: " + str(guests))
print("Number of buses needed: " + str(buses_needed))
print("Extra seats: " + str(extra_seats))And that's it! With this program, you can easily calculate how many buses you need to transport your wedding guests and how many extra people you can carry with those buses. Good luck with your wedding planning!

For such more questions on Python

https://brainly.com/question/28675211

#SPJ11

PLEASE HELP!!!
I was trying to create a superhero class code, but i ran into this error

File "main.py", line 3
def_init(self, name = "", strengthpts = 0, alterego = "", villain "", powers = "", motto = ""):
IndentationError: expected an indented block

Here is my actual code:
class superhero:

def_init(self, name = "", strengthpts = 0, alterego = "", villain "", powers = "", motto = ""):

# Create a new Superhero with a name and other attributes

self.name = name

self.strengthPts = strengthPts
self.alterego = alterego
self.powers = powers
self.motto = motto
self.villain = villain

def addStrengthPts(self, points):

# Adds points to the superhero's strength.

self.strengthPts = self.strengthPts + points



def addname(self):

if(self.name == "Dr.Cyber"):
print("My hero's name is Dr.cyber!")
elif(self.name == "Mr.cyber"):
print("My hero's name is Mr.cyber!")
elif(self.name == "Cyber Guy"):
print("My hero's name is Cyber Guy!")
else:
print("My hero doesn't have a name")



def addalterego(self):

if(self.alterego == "John Evergreen"):
print("Dr.Cyber's alter ego is John Evergreen")
elif(self.alterego == "John Silversmith"):
print("Dr.Cyber's alter ego is John Silversmith.")
elif(self.alterego == "Johnathen Grey"):
print("Dr.Cyber's alter ego is Johnathen Grey.")
else:
print("Dr.Cyber Does not have an alter ego")



def addpowers(self):

if(self.powers == "flight, super strength, code rewrighting, electronics control, psychic powers"):
print(fly. He is super strong. He can rewrite the genetic code of any object around him to whatever he wants.He can control surrounding electronics to do what he wants. He can move objects with his mind.")
else:
print(Fly. He can rewrite the genetic code of any object around him. he can move objects with his mind.")



def addmotto(self):

if(self.motto == "error terminated!"):
print("rewritting the code!")
else:
print("error eliminated!")



def addvillain(self):

if(self.villain == "The Glitch"):
print("Dr.Cyber's Arch nemisis is The Glitch.")
elif(self.villain == "The Bug"):
print("Dr.Cyber's Arch nemisis is The Bug.")
else:
print("Dr.Cyber has no enemies!")

def main():

newhero = superhero("Dr.Cyber", "John Evergreen", "fly. He is super strong. He can rewrite the genetic code of any object around him to whatever he wants.He can control surrounding electronics to do what he wants. He can move objects with his mind.", "The Glitch", "error terminated!", "0")

print("My Superhero's name is " + newhero.name + ".")

print(newhero.name + "'s alter ego is " + newhero.alterego + ".")

print(newhero.name + " can " + newhero.powers + ".")

print(newhero.name + "'s arch nemisis is " + newhero.villain + ".")

print("when " + newhero.name + " fights " + newhero.villain + ", he lets out his famous motto " + newhero.motto + ".")

print(newhero.name + " defeated " + newhero.villain + ". Hooray!!!")

print(newhero.name + " gains 100 strengthpts.")

main()

PLEASE ONLY SUBMIT THE CORRECT VERSION OF THIS CODE!!! NOTHING ELSE!!!

Answers

Answer:

you need to properly indent it

Explanation:

align your codes

Mark the other guy as brainliest, I'm just showing you what he meant.

I'm not sure if that's all that's wrong with your code, I'm just explaining what he meant.

Answer:

def_init(self, name = "", strengthpts = 0, alterego = "", villain "", powers = "", motto = ""):

# Create a new Superhero with a name and other attributes

self.name = name

self.strengthPts = strengthPts

self.alterego = alterego

self.powers = powers

self.motto = motto

self.villain = villain

def addStrengthPts(self, points):

 

   # Adds points to the superhero's strength.

   self.strengthPts = self.strengthPts + points

def addname(self):

   if(self.name == "Dr.Cyber"):

       print("My hero's name is Dr.cyber!")

   elif(self.name == "Mr.cyber"):

       print("My hero's name is Mr.cyber!")

   elif(self.name == "Cyber Guy"):

       print("My hero's name is Cyber Guy!")

   else:

       print("My hero doesn't have a name")

def addalterego(self):

   if(self.alterego == "John Evergreen"):

       print("Dr.Cyber's alter ego is John Evergreen")

   elif(self.alterego == "John Silversmith"):

       print("Dr.Cyber's alter ego is John Silversmith.")

   elif(self.alterego == "Johnathen Grey"):

       print("Dr.Cyber's alter ego is Johnathen Grey.")

   else:

       print("Dr.Cyber Does not have an alter ego")

def addpowers(self):

   if(self.powers == "flight, super strength, code rewrighting, electronics control, psychic powers"):

       print(fly. He is super strong. He can rewrite the genetic code of any object around him to whatever he wants.He can control surrounding electronics to do what he wants. He can move objects with his mind.")

   else:

       print(Fly. He can rewrite the genetic code of any object around him. he can move objects with his mind.")

def addmotto(self):

   if(self.motto == "error terminated!"):

       print("rewritting the code!")

   else:

       print("error eliminated!")

def addvillain(self):

   if(self.villain == "The Glitch"):

       print("Dr.Cyber's Arch nemisis is The Glitch.")

   elif(self.villain == "The Bug"):

       print("Dr.Cyber's Arch nemisis is The Bug.")

   else:

       print("Dr.Cyber has no enemies!")

def main():

   newhero = superhero("Dr.Cyber", "John Evergreen", "fly. He is super strong. He can rewrite the genetic code of any object around him to whatever he wants. He can control surrounding electronics to do what he wants. He can move objects with his mind.", "The Glitch", "error terminated!", "0")

   

   print("My Superhero's name is " + newhero.name + ".")

   print(newhero.name + "'s alter ego is " + newhero.alterego + ".")

   print(newhero.name + " can " + newhero.powers + ".")

   print(newhero.name + "'s arch nemisis is " + newhero.villain + ".")

   print("when " + newhero.name + " fights " + newhero.villain + ", he lets out his famous motto " + newhero.motto + ".")

   print(newhero.name + " defeated " + newhero.villain + ". Hooray!!!")

   print(newhero.name + " gains 100 strengthpts.")

main()

Other Questions
Listening skills are important for career success and organizational effectiveness. Considered one of the soft skills, listening skills allow you to improve the effectiveness of your communication with supervisors, colleagues, and customers. To become a more powerful listener, you can employ a variety of techniques. For example, if youre having trouble focusing on a message, you could:_________A. take a breakB. become actively involvedC. change the subject Quick question please help What happens to your breathing rate when you(a) exercise(b) go to sleep When making good decisions, you must _____ before you select the best alternative. On January 21, the column totals of the payroll register for Great Products Company showed that its sales employees had earned $14,960, its truck driver employees had earned $10,692, and its office employees had earned $8,670. Social Security taxes were withheld at an assumed rate of 6.2 percent, and Medicare taxes were withheld at an assumed rate of 1.45 percent. Other deductions consisted of federal income tax, $3,975, and union dues, $560. Determine the amount of Social Security and Medicare taxes withheld and record the general journal entry for the payroll, crediting Salaries Payable for the net pay. All earnings were taxable. Round amounts to the nearest penny name ur favorite anime waifus for points will give brainliest for best answer PLEASE HELP ASAP BRAINLIEST!!!Writing Prompt: I need 2 to 3 paragraphs on this topic. Just write why online high school education is better than public school education. 2 small paragraphs with 4 sentences or 3 doesn't matter.Some schools offer distance learning as an option for students to attend classes from home by way of online or video conferencing. Do you think students would benefit from being able to attend classes from home? Take a position on this issue. Support your response with reasons and examples. A buffer solution with a pH of 4.78 is prepared with ___M formic acid and 0.90 M sodium formate. The Ka of formic acid is 1.8*10^-4 A brittle material typically exhibits substantial plastic deformation with high energy absorption before fracture.a) trueb) false find the absolute max and min of f(x, y) = x 2 y 2 x 2 y 4 on d = {(x, y) : |x| 1, |y| 1} What are the openings (pores) called that allow these molecules to enter leaves? What molecule enters the plant through the roots? 9th grade maths solution Given g(x) = 2 3, find g(1) A biologist studies a species of bacteria called FAST. Her research reveals that FAST bacteria reproduce prodigiously. If a bacteria culture contains 10 FAST bacteria at time t = 0, the number of FAST bacteria in the culture at later time t is N(t) = 10+6t+2t^2where t is expressed in seconds.A) How many FAST bacteria occupy the culture at time t = 10 s? At time t = 11 s? From these answers, calculate how many net bacteria were born during the interval between t = 10 and t = 11 s. Assume no bacteria died.B) Now use calculus to find the birth rate of bacteria (the rate at which new bacteria get born) at time t = 10 s. It may help you to sketch a rough graph of N vs. t.C) Explain, conceptually, why your answers to part (a) and (b) are close but not exactly the same. What are the most effective lobbying techniques?. T/F acts 14:23 does not point in the direction of a plurality of elders as the normative practice in the early church planting movement. What happened in My Name is Parvana Chapter 4? Suppose the proportion of elements of a population that possess a certain characteristic is 0.67. Assuming"/n < 0.05, the probability that the sample proportion for a sample of 135 elements drawn from this population is between 62 and .67 rounded to four decimal places, is approximately: sentence used an idioms for song Lesson 3 Practice Problems Ratios