
Chapter 8 - Programming (IGCSE Computer Science)
Authored by Sat Arora
Computers
9th - 12th Grade
Used 18+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a variable?
A special character or word in a programming language that identifies an action to be performed
A positive or negative whole number that can be used with mathematical operators
A named data store that contains a value that does not change during the execution of a program
A named data store that contains a value that may change during the execution of a program
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a constant?
A named data store that contains a value that does not change during the execution of a program
A special symbol or word in a programming language that identifies an action to be performed
A named data store that contains a value that may change during the execution of a program
A positive or negative whole number that can be used with mathematical operators
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is an array?
A set of programming statements grouped together under a single name that can be called to perform a task in a program
A positive or negative whole number that can be used with mathematical operators
A data structure containing several elements of the same data type
A variable or constant that is several characters in length
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the main reason for using a procedure in programming?
To save and retrieve data from a magical book
To perform calculations using wizardry
To declare, use, and manipulate different types of wands and spells
To group spells together under a single spellbook that can be called to perform a task in a program
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the main purpose of a function in programming?
To group programming statements together under a single name that can be called to perform a task in a program
To declare, use, identify appropriate data types for, read and write arrays with one and two dimensions
To perform calculations using arithmetic operators
To store data in a file and retrieve data from a file
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the MOD operator in programming?
To find the magical remainder of a division
To uncover the hidden quotient (whole number part) of a division
To perform a mystical rounding of a value to a given number of decimal places
To conjure a random number
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the DIV operator do in programming?
To generate a random number
To round a value to a given number of decimal places
To return the quotient (whole number part) of a division
To return the remainder of a division
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?