
Programming and Variables
Authored by Shegaw Demessie
Computers
11th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a programming language?
A programming language is a formal language comprising a set of instructions that produce various kinds of output.
A programming language is a spoken language used for communication.
A programming language is a musical instrument used to code.
A programming language is a type of food consumed by developers.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Name three popular programming languages.
Swift
C++
JavaScript, Python, Java
Ruby
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a variable in programming?
A variable in programming is a constant value
A variable in programming is a fixed value that cannot be changed
A variable in programming is a symbolic name given to a value that can be changed during the program's execution.
A variable in programming is a type of function
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Explain the concept of data types in variables.
Variables in programming languages are used to store data values. Data types specify the type of data that can be stored in a variable, such as integers, strings, or booleans. Different programming languages have different data types, and each data type has specific rules for how the data is stored and manipulated.
Data types do not specify the type of data that can be stored in a variable
Variables are not used to store data values in programming languages
All programming languages have the same data types for variables
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the difference between global and local variables?
Global variables are accessible throughout the program, while local variables are limited to the scope of the function in which they are declared.
Global variables are only used in functions, while local variables are used globally.
Local variables can be accessed from any part of the program, while global variables are limited to specific functions.
Global variables are declared within functions, while local variables are declared outside of functions.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you declare a variable in Python?
value : variable_name
variable_name = value
variable_name : value
value = variable_name
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is variable scope in programming?
Variable scope refers to the color of variables in programming
Variable scope is the speed at which variables are processed in programming
Variable scope is the size of variables in programming
Variable scope in programming refers to the visibility and accessibility of variables within different parts of the code.
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
10 questions
Network Security
Quiz
•
9th - 11th Grade
10 questions
What is a program slides(6:16)
Quiz
•
8th - 12th Grade
15 questions
Cyber Security KS4
Quiz
•
8th - 12th Grade
15 questions
Linux-2 Quiz 2 -- LAMP
Quiz
•
1st - 12th Grade
15 questions
Empowerment Technologies
Quiz
•
KG - 12th Grade
15 questions
Excel
Quiz
•
10th - 12th Grade
14 questions
Pre-test: On Online searching by Innovative Teaching Ideas)
Quiz
•
6th - 12th Grade
10 questions
Scratch
Quiz
•
KG - Professional Dev...
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
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade