Search Header Logo

C Classes

Authored by SOUMYAJIT BHATTACHARJEE

Computers

University

Used 1+ times

C Classes
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

30 sec • 1 pt

What is a function?

A mathematical operation

A relation that assigns each element of a set to exactly one element of another set

A random number generator

A variable in programming languages

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Media Image

What is the output of the program?

Hello, World!

World!

Hello,

Error

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output of the following code ?

Square of 5 is: 25

25

5

Error

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Output of the code

CodeQuotient

CodeQuotientGet better at coding

CodeQuotient Get better at coding

Compile time error

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Output of the following program

4

14-12

16

Virtual Error

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

int i = 1 ;

while ( 1 ) {

i++ ;}
Is this will result in infinite loop??

Yes

No

Probably

Run time error

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

int y, x = 0 ;

do { y = x ; }

while ( x == 0 ) ;

Will this result in infinite loop?

Not sure

No

Yes

Segmentation Fault

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?

Discover more resources for Computers