Software Design and Development Quick Quiz 3

Software Design and Development Quick Quiz 3

11th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

XII - CA - Lesson 5 - Function and Array - Quiz 1

XII - CA - Lesson 5 - Function and Array - Quiz 1

12th Grade

10 Qs

Arrays and Lists

Arrays and Lists

10th - 11th Grade

15 Qs

A level Computer Science Fetch Decode Execute

A level Computer Science Fetch Decode Execute

10th Grade - University

11 Qs

Java Arrays Basic

Java Arrays Basic

10th - 12th Grade

15 Qs

Basic Data Structures - Intro to CS

Basic Data Structures - Intro to CS

12th Grade

15 Qs

Arrays and Lists

Arrays and Lists

6th - 12th Grade

10 Qs

Practice for Quiz #12

Practice for Quiz #12

9th - 12th Grade

15 Qs

Java Arrays  Prt 1Quiz

Java Arrays Prt 1Quiz

9th - 12th Grade

15 Qs

Software Design and Development Quick Quiz 3

Software Design and Development Quick Quiz 3

Assessment

Quiz

Computers

11th - 12th Grade

Hard

Created by

Darren Wright

Used 26+ times

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?