8.1 Programming Concepts Cambridge IGCSE 0478
Quiz
•
Computers
•
10th Grade
•
Easy

Stephen Ling-Winston
Used 2+ times
FREE Resource
Enhance your content in a minute
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
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
15 questions
Luyện tập
Quiz
•
KG - University
20 questions
PEMBOLEHUBAH,PEMALAR DAN JENIS DATA
Quiz
•
7th - 12th Grade
20 questions
Latihan PSAS Kelas 9
Quiz
•
9th Grade - University
19 questions
Unit 6 - lesson 2 Network Topology
Quiz
•
10th - 12th Grade
15 questions
Feedback 10º IVP
Quiz
•
10th Grade
20 questions
ระบบทางเทคโนโลยี ม.4
Quiz
•
10th Grade
15 questions
Cyber Security KS4
Quiz
•
8th - 12th Grade
20 questions
KOMPUTER dan JARINGAN
Quiz
•
1st - 10th Grade
Popular Resources on Wayground
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
4 questions
Activity set 10/24
Lesson
•
6th - 8th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
How to Email your Teacher
Quiz
•
Professional Development
15 questions
Order of Operations
Quiz
•
5th Grade
30 questions
October: Math Fluency: Multiply and Divide
Quiz
•
7th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
20 questions
Six Weeks Test 2 Review
Lesson
•
9th - 12th Grade
12 questions
Overview of Mexico Part 1
Lesson
•
9th - 12th Grade
10 questions
Exploring Computer Hardware and Software Components
Interactive video
•
6th - 10th Grade
