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
What is a variable?
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 Wayground
20 questions
PHP Quiz 1

Quiz
•
University
20 questions
Review JavaScript

Quiz
•
11th Grade - University
14 questions
Pseudocode Keywords

Quiz
•
11th Grade - University
20 questions
System Admin Linux Ch 14 Quiz Review

Quiz
•
9th - 12th Grade
15 questions
JavaScript Basics

Quiz
•
12th Grade - University
20 questions
Week 8

Quiz
•
12th Grade
10 questions
IMPERATIVE PROGRAMMING WITH C

Quiz
•
University
15 questions
PCEP Section 1C: Understanding Data Types and Variables

Quiz
•
12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade