What are variables used for in programming?
Implementation - PowerPoint 1 Higher

Quiz
•
Kelsey Swan
•
Computers
•
11th Grade
•
1 plays
•
Easy
14 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
To identify storage locations in memory
To increase the processing speed of the CPU
To connect to the internet
To create graphical user interfaces
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What type of variable can be accessed by any procedure/function in the program at any time?
Local variable
Constant variable
Static variable
Global variable
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Where can a local variable be accessed?
Anywhere in the program
Only inside the procedure/function it is declared in
Only outside the procedure/function it is declared in
Inside any procedure/function regardless of where it is declared
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Can a local variable be accessed by any other sub-program unless they are passed as a parameter or returned from a function?
Yes, always
No, never
Yes, but only if they are global
No, unless they are passed as a parameter or returned from a function
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is assignment in the context of programming?
The process of comparing two values
The process of assigning a value to a variable
The process of performing arithmetic operations
The process of printing a value to the screen
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What do 1-D arrays allow programmers to do?
Store a single piece of data
Store multiple pieces of data of different data types
Store multiple pieces of data of the same data type
Execute complex algorithms
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How would you declare an array to store 30 pupil scores using zero-based indexing?
Dim pupilScore(30) As Integer
Dim pupilScore(29) As Integer
Dim pupilScore(28) As Integer
Dim pupilScore(31) As Integer
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
Python Data Types

Quiz
•
9th - 12th Grade
15 questions
ASK F2 -KOD ARAHAN (PYTHON)

Quiz
•
1st Grade - University
15 questions
Databases

Quiz
•
9th - 12th Grade
12 questions
visual studio 2010

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

Quiz
•
7th - 11th Grade
15 questions
Pentaksiran T4(1.3)

Quiz
•
11th Grade
10 questions
Python Input/Output

Quiz
•
9th - 12th Grade
15 questions
2D Arrays

Quiz
•
9th - 12th Grade
Popular Resources on Quizizz
39 questions
Respect and How to Show It

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
10 questions
Human Body Systems and Functions

Interactive video
•
6th - 8th Grade
20 questions
Multiplication Facts

Quiz
•
3rd Grade
Discover more resources for Computers
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
20 questions
Investing

Quiz
•
9th - 12th Grade
20 questions
Insurance

Quiz
•
9th - 12th Grade
20 questions
Common Grammar Mistakes

Quiz
•
7th - 12th Grade
20 questions
Paying for College

Quiz
•
9th - 12th Grade
15 questions
Central Tendency

Quiz
•
9th - 12th Grade
20 questions
Banking

Quiz
•
9th - 12th Grade