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 Wayground
15 questions
Pemrograman Berorientasi Objek PAS GANJIL XII RPL

Quiz
•
12th Grade
10 questions
CS Python Fundamentals 8.8 Lesson Quiz

Quiz
•
9th - 12th Grade
15 questions
bài tập mảng tiết 1

Quiz
•
11th Grade
14 questions
Databases and Programming concepts (3-3-4)

Quiz
•
12th Grade
10 questions
Informatika BAB 1 A

Quiz
•
10th Grade - University
7 questions
Reviewing Arrays

Quiz
•
11th Grade
10 questions
Quiz 16 - Arrays and Loops

Quiz
•
11th Grade
10 questions
Quiz 15 - Array Basics

Quiz
•
11th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade