C Programming Midterm Exam

C Programming Midterm Exam

12th Grade

50 Qs

quiz-placeholder

Similar activities

Computer

Computer

6th - 12th Grade

45 Qs

FIT-5.02

FIT-5.02

9th - 12th Grade

46 Qs

GCSE Python Legends

GCSE Python Legends

1st - 12th Grade

45 Qs

PYTHON REVISION TOUR

PYTHON REVISION TOUR

12th Grade

47 Qs

Python Review - PLTW CSE / Codecademy

Python Review - PLTW CSE / Codecademy

9th - 12th Grade

53 Qs

Year 10 Term 4 roundup

Year 10 Term 4 roundup

9th - 12th Grade

50 Qs

Edexcel GCSE CS Topic 6 - Topic Test 1 (NONSUPER)

Edexcel GCSE CS Topic 6 - Topic Test 1 (NONSUPER)

12th Grade

49 Qs

Revision Attainment 4 (Grade 9M1)

Revision Attainment 4 (Grade 9M1)

9th Grade - University

45 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?