wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

C Programming Language Re-Test

Total questions: 20

Worksheet time: 9mins

Name
Class
Date
1.

It is a programming language used to rewrite the UNIX Operating system from its original code.

a)

Basic Combined Programming Language

b)

C Programming Language

c)

C++ Programming Language

d)

B Language

2.

It is a set of instructions that tell a computer what to do.

a)

Programming Language

b)

Computer Instructions

c)

Computer Program

d)

Programming System

3.

He is the developer of B Programming Language.

a)

Ken Thompson

b)

Dennis Ritchie

c)

Brian Kernighan

d)

Martin Richards

4.

He is the writer and developer of C Programming Language.

a)

Martin Richards

b)

Ken Thompson

c)

Brian Kernighan

d)

Dennis Ritchie

5.

It is a feature of C Programming Language that allows you to break a code into different parts using functions which can be stored in the form of libraries for future use and reusability.

a)

Structured Programming Language

b)

Use of Pointers

c)

Portability

d)

Mid-level Programming Language

6.

It is the year when the first edition of 'The C programming language' by K& RC was published.

a)

1978

b)

1979

c)

1988

d)

1989

7.

It is a feature of C Programming Language that provides a lot of built in functions that make the development fast.

a)

Simple

b)

Portability

c)

Use of Pointers

d)

Rich Library

8.

It is a feature of C Programming Language that points to a specific location in the memory and interact directly with it.

a)

Simple

b)

Memory Management

c)

Use of Pointers

d)

Recursion

9.

It is a feature of C Programming Language that it can create a function that can call itself multiple times until a given condition is true.

a)

Portability

b)

Recursion

c)

Speed

d)

Mid-level Programming Language

10.

What does 'portability' mean in the context of C programming?

a)

A. Writing code for a specific hardware platform

b)

B. Writing code that can run on different hardware and operating systems

c)

C. Using only the most recent C language features

d)

D. Ignoring cross-platform compatibility

11.

In basic program structure of C program what is the code or syntax that you can use to display text or print an output?

a)

A. scanf

b)

B. print

c)

C. printf

d)

D. scan

12.

Which among of the following is NOT an advantage of C Programming Language?

a)

A. C is an Object-Oriented Programming Language

b)

B. C is cross-platform compatibility

c)

C. C is very efficient and fast

d)

D. C was used to create embedded systems in microcontrollers

13.

Using the Dev C++ Application, we can use it to write, compile and run the code of our C++ programs. What is the shortcut key in keyboard to COMPILE AND RUN the code of our program?

a)

F8

b)

F9

c)

F10

d)

F11

14.

Using the Dev C++ Application, we can use it to write, compile and run the code of our C++ programs. What is the shortcut key in keyboard to COMPILE the code of our program?

a)

F8

b)

F9

c)

F10

d)

F11

15.

In Dev C++ the shortcut Key of RUN is ______

a)

F10

b)

F11

c)

F9

16.

In basic program structure of C program this is the line where the execution of any C program begins.

a)

#include <stdio.h>

b)

int main( )

17.

C language was developed at AT & T Bell Laboratories in New York, USA.

a)

TRUE

b)

FALSE

18.

To display text in a program write the code printout ().

a)

TRUE

b)

FALSE

19.

Every statement we declare in our program should be terminated with a semicolon.

a)

TRUE

b)

FALSE

20.

The file extension name of C source code is .cpp

a)

TRUE

b)

FALSE