Search Header Logo

Software Design and Development Quick Quiz 3

Authored by Darren Wright

Computers

11th - 12th Grade

Used 26+ times

Software Design and Development Quick Quiz 3
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

Sequence, Multiway selection

Sequence, Binary Selection

Sequence, Pre-test loop

Sequence, Post-test loop

2.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Which of the following contains the three components of a CPU?

HT, CU, Instruction Register

HDD, RAM, Cache

ALU, CU, Cache

ALU, CU, Program Counter

3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

What is the correct representation of the decimal number 45 in binary?

101001

101101

101111

110011

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

The decimal ASCII code for “A” is 65. What is the decimal ASCII code for “f”?

70

96

101

102

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

BEGIN

A = 4

INPUT B

WHILE B <> 999

IF B >= 10 THEN

A = A + B

PRINT A

END IF

INPUT B

END WHILE

END


The following test data is available to the algorithm: 1, 10, 15, 8, 999, 10.

What is the output of the algorithm?

29

14, 29

5, 15, 30

14, 29, 1028, 1038

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

A program is designed to calculate the average of 30 numbers. Which of the following is an example of a logic error for this program?

When the program runs it gives a “division by zero” error and crashes

The programmer spells the word “WHILE” incorrectly while typing code

The program ignores the last number and only calculates the average of 29 numbers

The numbers are stored in an array and the program tires to read the 31st number and crashes

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Consider the following fragment of code:

A = A + B

B = A – B

A = A – B

Assuming A and B are integers, what is the effect of executing this sequence of statements?

Both variables are set to the initial contents of A

Both variables are set to the initial contents of B

The contents of A is swapped with the contents of B

Both variables are set to the initial difference between A and B

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?