
Programming and Variables

Quiz
•
Computers
•
11th Grade
•
Easy
Shegaw Demessie
Used 1+ times
FREE Resource
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.
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Vocabulary Do Now 1

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

Quiz
•
10th - 11th Grade
10 questions
Code.org Unit 5 Vocab Quiz 1

Quiz
•
9th - 12th Grade
15 questions
AP Computer Science Principles Unit 1

Quiz
•
9th - 12th Grade
10 questions
Understanding Programming Constructs

Quiz
•
10th Grade - University
15 questions
Variables Constants Datatypes

Quiz
•
8th - 12th Grade
15 questions
AQA Computer Science GCSE - 3.1 Fundamentals of algorithms

Quiz
•
10th - 12th Grade
15 questions
Python Fundamentals Quiz

Quiz
•
11th Grade
Popular Resources on Wayground
55 questions
CHS Student Handbook 25-26

Quiz
•
9th Grade
10 questions
Afterschool Activities & Sports

Quiz
•
6th - 8th Grade
15 questions
PRIDE

Quiz
•
6th - 8th Grade
15 questions
Cool Tool:Chromebook

Quiz
•
6th - 8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
20 questions
Bullying

Quiz
•
7th Grade
18 questions
7SS - 30a - Budgeting

Quiz
•
6th - 8th Grade