Software Design and Development Quick Quiz 3

Quiz
•
Computers
•
11th - 12th Grade
•
Hard
Darren Wright
Used 26+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
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
Similar Resources on Quizizz
12 questions
Java - arrays and String methods

Quiz
•
9th - 12th Grade
15 questions
Soal Java

Quiz
•
11th Grade - University
10 questions
Programming - Arrays

Quiz
•
2nd - 12th Grade
11 questions
A level Computer Science Fetch Decode Execute

Quiz
•
10th Grade - University
15 questions
Basic Data Structures - Intro to CS

Quiz
•
12th Grade
10 questions
Arrays and Lists

Quiz
•
6th - 12th Grade
15 questions
Java Arrays Prt 1Quiz

Quiz
•
9th - 12th Grade
10 questions
PDA Software I&T - Constructs Required

Quiz
•
12th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade