Search Header Logo

C Programming Midterm Exam

Authored by Mary Velasco

Computers

12th Grade

Used 1+ times

C Programming Midterm Exam
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

50 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Who developed the C programming language?

Bjarne Stroustrup

James Gosling

Dennis M. Ritchie

Guido van Rossum

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following statements about the C programming language is true?

C was introduced in the early 1970s and is the successor of the A language.

C is a successor of the B language and was formalized by the International Organization for Standardization (ISO) in 1988.

C is a successor of the B language, introduced around the early 1970s, and was formalized in 1988 by the American National Standard Institute (ANSI).

C was formalized in 1988 by the American National Standard Institute (ANSI) and is a predecessor of the B language.

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Why was the C programming language initially adopted for system development work?

Because it was the only available language for operating system development.

Because it was designed specifically for application software development.

Because it produces code that runs efficiently, making it ideal for system development, particularly for the programs that make up the operating system.

Because it was created as a high-level language for business applications.

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What does a flowchart represent in the context of programming?

A textual description of a program's code.

A diagrammatic representation of the sequence of logical steps in a program, using geometric shapes to depict processes and arrows to show relationships and data flow.

A tool for debugging and testing software.

A list of variables and their values used in a program.

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following is true about identifiers in the C programming language?

Identifiers can start with a digit.

C allows punctuation characters such as @, $, and % within identifiers.

C is not case sensitive, so Manpower and manpower are considered the same identifier.

Identifiers must start with a letter or an underscore, followed by letters, digits, or underscores, and C is case sensitive.

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is an operator in the context of the C programming language?

A keyword that defines a data type.

A symbol that instructs the compiler to perform specific mathematical or logical functions, with various types like Arithmetic, Relational, Logical, Assignment, and Miscellaneous operators.

A function that only performs mathematical calculations.

A special variable that stores values.

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is operator precedence in the context of the C programming language?

The rule that specifies the order in which operators with the same precedence level are evaluated.

The ability to override operators within an expression.

The grouping of terms in an expression that determines the order of evaluation, where certain operators have higher precedence and are evaluated first.

The process of converting operators into functions.

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?