C Language Fundamentals Flashcards (10 cards)

All cards

1Question

Who developed C at Bell Laboratories in 1972, and to write which operating system?

Answer

Dennis Ritchie developed C to write UNIX.

2Question

What six sections make up a C program?

Answer

Documentation, preprocessor directives, definitions, global declarations, the main function, and user-defined functions.

3Question

Which four purposes is C used for?

Answer

Operating systems, databases, embedded systems, and low-level activities.

4Question

What does the documentation section of a C program describe?

Answer

The program’s overview, such as its name, date, description, and title.

5Question

What does a data type specify about a variable?

Answer

The values it can store, the memory required, and the operations allowed.

6Question

What categories group C operators?

Answer

Arithmetic, relational, logical, bitwise, assignment, and miscellaneous.

7Question

What process removes bugs or faults from a program?

Answer

Debugging.

8Question

Which five types of C programming errors are listed?

Answer

Syntax, run-time, linker, logical, and semantic errors.

9Question

How are C data types classified?

Answer

Primitive, void, user-defined, and derived types.

10Question

Which arithmetic operators are included in C?

Answer

Addition, subtraction, multiplication, division, modulus, increment, and decrement.

Test yourself with the quiz

Answer 7 questions on C Language Fundamentals.

1. Which description best identifies the C programming language?

2. Which function is required in a C program and executed first?

Take the quiz →

Read the study guide

Go over the full study guide for C Language Fundamentals.

Read the study guide →

Related classes

Make your own flashcards

Upload your class notes and Revizly writes your flashcards in about a minute.

Flashcard maker