Software Design and Development Quick Quiz 3

Software Design and Development Quick Quiz 3

11th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

Uji Pemahaman tentang Array

Uji Pemahaman tentang Array

11th Grade

13 Qs

Java Level 1 - D

Java Level 1 - D

12th Grade

15 Qs

Java Arrays Basic

Java Arrays Basic

10th - 12th Grade

15 Qs

Arrays

Arrays

KG - University

10 Qs

Arrays Intro

Arrays Intro

9th - 12th Grade

12 Qs

T1Activity#1A12[CAI]/51

T1Activity#1A12[CAI]/51

12th Grade

15 Qs

C programming

C programming

11th Grade - University

10 Qs

L.5. PHP FUNCTION AND ARRAY - 1

L.5. PHP FUNCTION AND ARRAY - 1

12th Grade

10 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?