C Programming and Unix Quiz

C Programming and Unix Quiz

12th Grade

73 Qs

quiz-placeholder

Similar activities

OCR H446 - 1.4 Data Types and Structures - Computer Systems - 01

OCR H446 - 1.4 Data Types and Structures - Computer Systems - 01

12th Grade

78 Qs

Komputer

Komputer

10th - 12th Grade

77 Qs

Introduction to Python Class 11 Quiz

Introduction to Python Class 11 Quiz

12th Grade

68 Qs

A2-T13-all

A2-T13-all

9th - 12th Grade

68 Qs

Dig Lit Unit 1 Exam REVIEW

Dig Lit Unit 1 Exam REVIEW

9th - 12th Grade

70 Qs

Latihan Soal Microsoft Word

Latihan Soal Microsoft Word

KG - 12th Grade

68 Qs

CMSC 131 Quiz 1

CMSC 131 Quiz 1

12th Grade

78 Qs

Final exam Review

Final exam Review

9th - 12th Grade

71 Qs

C Programming and Unix Quiz

C Programming and Unix Quiz

Assessment

Quiz

Computers

12th Grade

Easy

Created by

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?