What is a variable?
Quiz on Variables in Programming

Quiz
•
Computers
•
11th Grade
•
Medium
Mark Ogden
Used 7+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A fixed value in a program
A storage location identified for data that can change
A type of hardware component
A constant in mathematics
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does an environment variable provide?
Hardware specifications
Network configurations
Settings and configurations
User interface design
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a shell variable?
A variable inherited by child shells and processes
A variable that is not inherited by child shells and processes
A variable used in web development
A variable that stores user passwords
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a local variable?
A variable that is always available
A variable defined in scripts and script functions
A variable used for network settings
A variable that stores system logs
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the HISTSIZE variable determine?
The size of the user's home directory
The number of lines or commands stored in a history list
The number of active users
The size of the system memory
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does OLDPWD represent?
The current working directory
The previous directory the user accessed
The user's password
The user's email address
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the HISTFILE variable store?
User passwords
Past commands
User emails
System logs
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
Code.org Unit 5 Vocab Quiz 1

Quiz
•
9th - 12th Grade
10 questions
Software - Common Utility Programs

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

Quiz
•
9th - 12th Grade
16 questions
LA3.C3: Variables

Quiz
•
9th Grade - University
20 questions
Fundamentals of Programming C++

Quiz
•
9th Grade - University
15 questions
Hangman Game - Programming Questions

Quiz
•
7th - 11th Grade
10 questions
Visual Basic Intro Quiz

Quiz
•
9th - 12th Grade
15 questions
Yr 11 revision

Quiz
•
11th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

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

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade