Search Header Logo

sample quiz

Authored by Sushma S

Education

University

Used 2+ times

sample quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

1)Who is the father of C language?

a) Steve Jobs

b) James Gosling

c) Dennis Ritchie

d) Rasmus Lerdorf

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

2)All keywords in C are in ____________

a) LowerCase letters

b) UpperCase letters

c) CamelCase letters

d) None of the mentioned

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

3)Which is valid C expression?

a) int my_num = 100,000;

b) int my_num = 100000;

c) int my num = 1000;

d) int $my_num = 10000;

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

4)Which of the following cannot be a variable name in C?

a) volatile

b) true

c) friend

d) export

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

5)What is short int in C programming?

a) The basic data type of C

b) Qualifier

c) Short is the qualifier and int is the basic data type

d) All of the mentioned

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

6)Which of the following declaration is not supported by C language?

a) String str;

b) char *str;

c) float str = 3e2;

d) Both “String str;” and “float str = 3e2;”

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

7)Which keyword is used to prevent any changes in the variable within a C program?

a) immutable

b) mutable

c) const

d) volatile

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?