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
SQL basic

Quiz
•
University
20 questions
Python Basics Review (TSK)

Quiz
•
9th - 12th Grade
16 questions
Higher SDD 1

Quiz
•
12th Grade
20 questions
Web Systems and Technologies

Quiz
•
University
20 questions
Arduino Basics

Quiz
•
9th - 12th Grade
20 questions
Linux Variables and Commands

Quiz
•
11th Grade
17 questions
Python - Quiz

Quiz
•
9th - 11th Grade
10 questions
PDS - 04225 Pointers & Dynamic Arrays - Chapter 8

Quiz
•
University - Professi...
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University