C Programming Midterm Exam

C Programming Midterm Exam

12th Grade

50 Qs

quiz-placeholder

Similar activities

Python Basic Loops

Python Basic Loops

9th - 12th Grade

55 Qs

Exploring Computer Science Final Exam

Exploring Computer Science Final Exam

9th - 12th Grade

52 Qs

APCSP Data Unit 5

APCSP Data Unit 5

10th - 12th Grade

47 Qs

Scratch Programming

Scratch Programming

9th Grade - University

53 Qs

CodeHS Unit 2 Review Programming with Karel

CodeHS Unit 2 Review Programming with Karel

9th - 12th Grade

50 Qs

Programming

Programming

12th Grade - University

45 Qs

Test

Test

12th Grade

45 Qs

ALGORITHM AND FLOWCHART

ALGORITHM AND FLOWCHART

12th Grade - University

51 Qs

C Programming Midterm Exam

C Programming Midterm Exam

Assessment

Quiz

Computers

12th Grade

Medium

Created by

Mary Velasco

Used 1+ times

FREE Resource

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.

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?