Intro and Chapter 1 Getting Started with C Flashcards

1
Q

Who developed the C programming language?

A

Dennis Ritchie in 1972 at Bell Telephone Laboratories

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

What is a function?

A

Functions enable you to group a logical series of activities, or program statements, under one name

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

What is an algorithm?

A

A step-by-step process or a set of rules for solving a problem

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

Is C case-sensitive?

A

Yes

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

What characters signify the start and end of a comment block?

A
Start = /*
End = */
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What characters can be used to create multi-line comment blocks?

A

The /* and */ characters can create multi-line and single-line comment blocks.

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

Aside from the /* and */ characters, what can create single-line comment blocks?

A

//

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

How many keywords are defined in the standard ANSI C programming language?

A
  1. They must always be in lower-case
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What character signifies a statement terminator?

A

;

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

What is the escape character?

A

\

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

What are a few common escape sequences?

A
\n = new line
\t = new tab 
\r = move cursor to start of line
\\ = insert \
\" = insert "
\' = insert '
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What character signifies a preprocessing directive?

A

#

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

What is the standard naming convention for programs written in C?

A

.c

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

What does ANSI stand for?

A

American National Standards Institute

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

What does a C compiler do?

A
  1. Searches for preprocessing directives
  2. Generates error codes and messages (if app.)
  3. Compile program code into object code
  4. Link any necessary libraries
How well did you know this?
1
Not at all
2
3
4
5
Perfectly