Search Header Logo

C Programming Quiz

Authored by Dr. Kalyan N

Computers

Used 15+ times

C Programming Quiz
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

1 min • 1 pt

Select the correct statement from the given options:

Only those who study Computer Science Engineering or a related subject in college can learn to write computer programs.

The sequence of instructions (in the form of source code) written in a computer programming language is called a computer program.

One needs to be a genius in Maths to become a computer programmer.

Computer Programming languages are very hard to learn.

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

In which year was the C programming language developed?

1992

1972

1982

1962

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

The C programming language was developed by whom?

James Gosling

Guido van Rossum

Dennis Ritchie

Satya Nadella

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Select the correct statement from the given options:

Header files contain functions that are automatically generated by machines.

A C program can run without a main() function.

The statement 'printf("CodeTantra");' prints 'CodeTantra' on the console.

#include is a preprocessor command.

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Select the correct statement from the given options.

The C compiler treats lowercase and uppercase characters as the same.

Void main();

Any character which begins with \ is called an escape sequence.

We can use characters of Chinese or Hindi to write a C program.

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Select the incorrect statement from the given statements.

A variable is an identifier which is used to store data.

The value stored in a variable is fixed. It cannot be changed once it is initialised to a value.

A variable is the name given to a memory location.

The type of data stored in a variable is specified by its data types.

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which character is used to indicate the end of a statement in C?

. (dot)

; (semicolon)

: (Colon)

, (comma)

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?