cfp 1 Flashcards

1
Q

is a general-purpose, high-level language

A

c programming

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

c programming is developed by [ ] for the Unix operating system

A

Dennis Ritchie

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

is a set of built-in functions, created by the programmers of the c programming language

A

library

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

is the code that is called by the compiler to execute the program

A

main part of the code

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

it is what the program would execute

A

the body of the program

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

the exit status of the program

A

return 0;

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

contains functions that you could use in your program

A

header file

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

two types of header file

A
  1. pre-existing header files
  2. user-defined header files
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

files which are already available in compiler

A

pre-existing header files

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

files defined by user

A

user-defined header files

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

any programming language requires a specific [ ] for the program to run

A

syntax

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

the proper way for programmers to communicate with the computer

A

syntax

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

with proper syntax, [ ] can be minimized

A

errors

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

has a series of predefined functions embedded in the header files in the c library

A

header files

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

input/output functions

A

stdio.h

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

general utility functions

A

stdlib.h

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

string functions

A

string.h

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

mathematics functions

A

math.h

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

character handling functions

A

ctype.h

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

are the smallest individual unit in the c program

A

c tokens

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

are either keywords or identifiers, constants, variables, or any other symbol which has meaning in c language

22
Q

the absence of a [ ] at the end of any statement will mislead the compiler to think that this statement is not yet finished

23
Q

are plain simple text in a c program

24
Q

c is a case-sensitive language so all c instructions must be written in

A

lower case letters

25
transforms your program before it is compiled
preprocessor
26
the commands of the preprocessor are known as
preprocessor dorectives
27
is a flaw or defect in a program that causes the program to behave abnormally
error
28
removing all errors from a code
debugging
29
arises when a programmer disregards the set of rules that govern the syntax of the programming language
syntax mistakes
30
syntax mistakes are also known as
compilation errors
31
errors that occur during the execution of a program
run time errors
32
occur when we believe our code is right because it compiles without problems and runs without error
logical errors
33
are characters that have a "special" built-in meanings in the language and they can not be used as identifiers
symbols or special characters
34
a primitive data type with a distinct human-readable form
symbol
35
add clarity to the source code, making it easier for others to grasp what the code is supposed to do and assist in debugging
comments
36
starts with //
single line comment
37
uses /*....*/ symbol
multi-line comments
38
are used to document the program and remind programmers of what tricky things they just did with the code
comments
39
are like the storage box in programming. it is responsible for storing data or values
variables
40
is a name for a memory place where data is stored
variable
41
is used in the definition of all variables to limit the kind of data that may be stored
data type
42
all data types defined by c are made up of units of memory called
bytes
43
identify the type of a variable when declared
data types
44
is an attribute associated with a piece of data that tells a computer system how to interpret its value
data type
45
whole number
int %d %i
46
declare characters
char %c
47
a sequence of character type variables
string %s
48
used to hold real numbers
float %f double %lf
49
smaller integer value
short int %hd
50
are predefined, reserve words
keywords