
8.1 Programming Concepts Cambridge IGCSE 0478
Authored by Stephen Ling-Winston
Computers
10th Grade
Used 7+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a variable in programming?
A named storage location in memory that can hold different values during program execution.
A fixed value that never changes.
A part of the CPU used for calculations.
A special type of loop structure.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following best describes a constant in programming?
A value that does not change during program execution.
A variable that can be updated any time.
A data type that stores only integers.
A temporary storage location.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In Python, which keyword is commonly used to declare a constant (by convention)?
Writing the variable name in uppercase (e.g., PI = 3.14).
Using the const keyword.
Using let before the variable name.
Using fixed before the variable name.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is the correct way to declare a variable in Python?
age = 25
int age = 25;
let age = 25;
constant age = 25;
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the main difference between a variable and a constant?
A variable can change its value during execution, while a constant remains the same.
A variable stores numbers, while a constant stores text.
A constant is always declared before variables.
A constant is a special type of loop structure.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In a strongly typed programming language like Java, how would you declare a constant?
final int MAX_SCORE = 100;
int MAX_SCORE = 100;
constant int MAX_SCORE = 100;
let MAX_SCORE = 100;
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following correctly assigns a value to a variable in Python?
temperature = 37.5
temperature == 37.5
temperature := 37.5
set temperature to 37.5
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?
Similar Resources on Wayground
20 questions
Name The Disney Animation Films
Quiz
•
KG - University
15 questions
Empowerment Technologies
Quiz
•
KG - 12th Grade
15 questions
Excel
Quiz
•
10th - 12th Grade
20 questions
Advantages and Disadvantages of Collecting Data
Quiz
•
10th Grade
20 questions
PowerPoint
Quiz
•
10th Grade
19 questions
¿Qué es un sistema operativo?
Quiz
•
10th Grade
15 questions
Cyber Security KS4
Quiz
•
8th - 12th Grade
15 questions
Linux-2 Quiz 2 -- LAMP
Quiz
•
1st - 12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
22 questions
fractions
Quiz
•
3rd Grade
11 questions
FOREST Effective communication
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade