Chapter 8 - Programming (IGCSE Computer Science)

Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Sat Arora
Used 16+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Programming Paradigms

Quiz
•
12th Grade
14 questions
ICT 9 - LESSON 1: CONNECTING DATA THROUGH OPERATORS

Quiz
•
9th Grade
20 questions
Early Programming

Quiz
•
9th - 12th Grade
10 questions
Python Basics

Quiz
•
8th - 10th Grade
15 questions
OCR GCSE - CPU Role and registers

Quiz
•
9th - 12th Grade
18 questions
Computer Science

Quiz
•
9th - 12th Grade
10 questions
2.1.1. Thinking Abstractly

Quiz
•
12th Grade
10 questions
2.1 Algorithms and Computational Thinking

Quiz
•
8th - 11th Grade
Popular Resources on Wayground
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
10 questions
"LAST STOP ON MARKET STREET" Vocabulary Quiz

Quiz
•
3rd Grade
19 questions
Fractions to Decimals and Decimals to Fractions

Quiz
•
6th Grade
16 questions
Logic and Venn Diagrams

Quiz
•
12th Grade
15 questions
Compare and Order Decimals

Quiz
•
4th - 5th Grade
20 questions
Simplifying Fractions

Quiz
•
6th Grade
20 questions
Multiplication facts 1-12

Quiz
•
2nd - 3rd Grade