
C Programming and Unix Quiz

Quiz
•
Computers
•
12th Grade
•
Easy
Salma Qadiri
Used 4+ times
FREE Resource
73 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
WHAT IS THE MOST IMPORTANT REASON TO LEARN C?
teaches us exactly how our code runs on the chip
Programs written in C run faster than programs written in other languages
C is a memory-safe language
learning C allows us to read a lot of programs
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A 'COMMAND' AT THE UNIX COMMAND LINE IS ACTUALLY A:
Program
All of the above
File
language construct
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
IN A UNIX FILE SYSTEM, FILES ARE ORGANIZED INTO:
A tree
none of the above
A flat namespace
a set of folders
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
IN 13S WE WANT YOU TO USE THE COMMAND LINE TO WRITE SHELL SCRIPTS SO THAT:
you don't need to use the mouse
you move on bad time
your tests are repeatable
you become experts in scripting
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The expression A && !B evaluates to 0 when:
It can never be zero
whenever A evaluates to 0
when A ≠ 0 both evaluate to something other than 0.
when A evaluates to 0 and B evaluates to not 0.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What's the value of the expression A && !A?
undefined
0
1
depends on A
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Given a variable A of type int what would &A evaluate to?
int value stored by A
address of the value stored by A
0
int value pointed to the variable A.
Create a free account and access millions of resources
Similar Resources on Wayground
Popular Resources on Wayground
10 questions
Video Games

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

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade