Unix 10

Ace your homework & exams now with Quizwiz!

The source code of a C program file is stored in a file with the ____ extension.

.c

The C language was partly developed to resolve the more lengthy requirements of assembly language

True

compiler is a program that translates the source code into ____ code, which consists of binary instructions.

object

The ____ of a variable is the part of the program in which the variable is defined and, therefore, accessible.

scope

When you represent character data in a program as a character constant, you enclose the character in ____.

single quotation marks

A(n) ____ is a group of characters, such as a name.

string

The decrement operator is a(n) ____ operator

unary

You can use three modifiers with int data types: short, long, and ____.

unsigned

A variables data type determines the upper and lower limits of its range of values

True

C can be described as a language that uses relatively short, isolated functions to break down large, complex tasks into small and easily resolved subtasks.

True

C++ uses // to denote a comment line

True

____ have special meanings, so you cannot use them as names for variables or functions.

keywords

Automatic variables are ____ to the function in which they are declared

local

The ____ utility tracks what needs to be recompiled by using the time stamp field for each source file.

make

The ____ scanf() format specifier is used to indicate that scanf() should interpret the input value as a pointer

%P

The ____ format specifier is used to denote a signed decimal integer.

%d

The ____ format specifier is used to denote a floating point number in decimal notation.

%f

C/C++'s increment operator is

++

____ is the language in which UNIX was developed and refined.

C

Dennis Ritchie and Brian Kernighan rewrote most of UNIX using C++ in the early 1960s.

False

fgetch() reads a single character from the file and points to it

False

____ are continuous streams of data.

Files

The original UNIX operating system was written in

assembly language

____ is a low-level language that provides maximum access to all the computer's devices, both internal and external.

assembly language

Variables that are declared inside a function are called ____ variables.

automatic

The ____ data type occupies a single byte.

char

____ is an example of how you can declare a string in C

char name

C provides three looping mechanisms: the for loop, the while loop, and the ____ loop.

do-while

The output of a linker is a(n) ____ file.

executable

The word null is used to indicate that a function returns no data

false

Unlike many other library input functions, readf() can be used to input values of a variety of data types.

false


Related study sets

Life Insurance Policy Provisions, Options and Riders

View Set

Quant Methods in Psych Exam Conceptual Final

View Set

Chapter Thirteen Questions + Answers

View Set

The Legal Environment of Business - Midterm

View Set

Unit 1: Operations with Real Numbers

View Set

World History 112 Final Study Guid

View Set

HIPAA AND PRIVACY ACT TRAINING (CHALLENGE EXAM JKO)

View Set