Unit 1 Review

Quiz
•
Computers
•
10th - 12th Grade
•
Hard
Stephanie Lugo
Used 21+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Which of the following best describe examples of abstraction
A developer writing a program for calculating properties of shapes uses a variable pi to store a decimal approximation of the number π (~3.14159). They use this variable whenever they need to use the number π to calculate an area or volume.
A series of steps for creating a model aeroplane is laid out in a clear order, with specific instructions in great detail for completing each step.
Several developers are working on a program together. In order to complete the work efficiently, they split the program up into several parts, and each work on a section, testing as they proceed. When code is complete they add it to a master program.
Answer explanation
This is correct. The constant π, which has an infinite decimal expansion, is represented by a simple variable name of pi. This is therefore an example of abstraction, where a complex system is replaced with a simplified representation.
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Rick is in charge of a team developing a program which will be used by businesses to control stock. The team has already consulted with potential clients and developed an idea of what inputs will be required and the likely outputs that will be produced from these inputs. Which of the following should Rick and his team do next?
Correct Answer
Write segments of code in different languages to see which language will be most suitable for the job
Plan the structure of the program and determine how the major algorithms will work
Make a list of bugs which will occur during development and propose ways these could be fixed
Decide on the schedule for updates and maintenance of the code
Answer explanation
This is correct. When the initial planning and ideas phase of the development cycle is complete, the next step should be to consider the overall design of the program and how it will implement the desired functionality.
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Jama is creating a program which calculates the square roots of whole numbers. The program will store the results of each square-root as a variable. Which of the following data-types would be best used for this variable?
int
string
bool
float
Answer explanation
This is correct. The square root of an integer may be another integer or a non-integer number (e.g. the square root of 2 is 1.4142…). Since the floating point number (float) data type stores decimal numbers, this makes it an ideal data-type for this variable.
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following describes algorithmic solutions to problems:
I. A set of step by step instructions for assembling a piece of furniture.
II. A flowchart used to make important decisions on which actions to take in an emergency situation
III. A recipe for baking a cake with detailed numbered steps to follow
I, II and III
I and III only
I and II only
II and III only
Answer explanation
This is correct. Each of the problems described (assembling a piece of furniture, dealing with an emergency situation and baking a cake) are solved through a set of logically ordered, precise instructions. These solutions can therefore be thought of as being algorithmic in nature.
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following statements about variables in programming are true?
I. Variables allow a value to be stored for future use
II. Once the value of a variable is set it cannot be changed
III. The name given to a variable is important for human comprehension, but not for the computer.
II only
I and III only
I only
I, II and III
Answer explanation
This is correct. The use of a variable is primarily to store values which can be used later. It is important to name variables so that code is comprehensible to people reading it (including the original programmer) and its purpose and function can be quickly determined. Despite this, it makes no difference to the running of the program by the computer what variable names are used.
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Erin has written a program which presents a user with multiple-choice quiz questions to answer and calculates a percent score based on the number the user got right or wrong. Each question has 5 possible answers, and scores presented are from 0 to 100 percent inclusive. Which of the following could be represented by a boolean variable?
The correct answer choice for a particular question.
The percent score of the user
Whether a user got a specific question right or not
The number of questions in the quiz.
Answer explanation
This is correct. A boolean variable can have two possible values - true or false. This makes ideal for determining if a user got an individual question right (true) or not (false).
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following statements are NOT true about high level programming languages? Select one answer:
Code written using high level languages is relatively easy for humans to read, write and parse
Code written using high level languages usually requires compiling before it can be run
Code written using high level languages is guaranteed to be ambiguous
Answer explanation
This is correct. This is a false statement as programming languages are unambiguous (when properly documented), meaning a program only has one possible way of being interpreted.
Create a free account and access millions of resources
Similar Resources on Wayground
25 questions
File Extension Quiz

Quiz
•
9th - 12th Grade
15 questions
Unit 3: Intro to App Design Vocabulary

Quiz
•
11th Grade
19 questions
3D MODELING & ANIMATION_B

Quiz
•
9th - 12th Grade
15 questions
GCSE Computing: Computational Logic 2.4

Quiz
•
11th - 12th Grade
20 questions
Technology Innovations

Quiz
•
5th - 12th Grade
16 questions
Computer Science 2.2

Quiz
•
10th Grade
15 questions
Java Script Quiz

Quiz
•
9th - 12th Grade
25 questions
Computer Software

Quiz
•
6th Grade - University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

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

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
1.2 OSI & TCP IP Models Quiz

Quiz
•
10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade