Question

COMPUTER ORGANIZATION AND ARCHITECTURE 10TH EDITION VARIOUS. TRUE FALSE 1. Structured Programming is based on a...

COMPUTER ORGANIZATION AND ARCHITECTURE 10TH EDITION

VARIOUS. TRUE FALSE

1. Structured Programming is based on a programmer’s ability to organize program instructions into groups of code called Paragraphs or Procedures.

2. Spaghetti Code is a name given to a well-designed, structured, program.

3. The Go To command includes the ability to “come back from” wherever in the program the Go To went to.

4. The “do” command has been banned from modern programming languages because it lead to confusing, hard to read, programs.

5. All Status Flags in a program are 1 bit in length, i.e., in 1 bit fields.

6. An Interrupt is an electronic signal from one part of a computer system to another part.

7. Pipelining is never used in modern computers.

8. RISC systems use “hardwired Control Units” not microprogrammed Control Units

9. Microprogramming simplifies the design of a Control Unit.

10. IBM’s zEnterprise EC12 mainframe computer is IBM’s largest, most powerful personal computer.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Q1.

True

Structured means organized or something that follow a sequence. Structured programming has well defined smaller parts or you may say loops (if else, while etc) that divides the code into smaller parts or modules. Structured programming has procedural programming in it.

Q2.

False

Spaghetti code is not a structured code(having proper flow in a code, or smaller modules) however this code has not proper pattern in it.This code uses goto statements etc that may disturb the normal structure or program instruction.

Q3.

True

Go to command is used wherever in the program to move to specific instruction. The term go to is used to jump to some specific location in program however it can come back to specific location as well .It is considered as a bad approach in program.

// code to clear concept

Two numbers addition

int main()

{

                                int i,j=0;

                                   i=9; // i,j can be any number

                                   j=6;    

                                   num:

                                                   //print something

                                   if(i<j)

                                                                  {

                                                                                   goto Sum; // pointer moves to label Sum

                                                                                   cout<<"number is greater:;

                                                                  }

                                                Sum:

                                                int sum=i+j;

                                                float Ave=sum/2;

                                                if(ave<2)

                                                {

                                                goto num; // pointer moves to start of program code

                                                }

Q4.

True

Modern programming languages uses for and other loops for iterating and performing actions. Do command is not considered a good approach

Q5.

True

A status flag has 1 bit to represent its value.

Q6.

True

An interrupt is a signal that is generated by any input or output device to computer processing unit .Mostly it halt the current process performed by the processing unit.

Q7.

False

Nowadays computers has pipelining done in the microprocessor part of computer to enhance the instructions execution time period.

Q8.

True

RISC systems has logic circuits and registers for their operands to enhance their execution time they are usually hardwired.

Q9.

True

Microprogramming is a control structure that make instructions to be executed in a form a small micro instructions so when it is used in control units it will surely simplifies its design.

Q10.

True

It was considered as the world’s fastest microprocessor.

Add a comment
Know the answer?
Add Answer to:
COMPUTER ORGANIZATION AND ARCHITECTURE 10TH EDITION VARIOUS. TRUE FALSE 1. Structured Programming is based on a...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT