Search Header Logo

programming mcqs

Authored by KISHORKUMAR D

Education

University

Used 1+ times

programming mcqs
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Media Image

What will be the output of the following Python code?

1 2

1 2 3

error

none of the mentioned

2.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Media Image

What will be the output of the following Python code?

1 2 3 4 5 6

1 2 3 4 5 6 7

error

none of the mentioned

3.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Media Image

What will be the output of the following Python code?

1

1 2

1 2 3 4 5 6 …

1 3 5 7 9 11 …

4.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Media Image

What will be the output of the following Python code?

1

1 3 5 7...

1 2 3 4 …

none of the mentioned

5.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Media Image

What will be the output of the following Python code?

True

False

none of the mentioned

6.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Media Image

What will be the output of the following C code?

Compile time error

Hello World! 34

Hello World! 1000

Hello World! followed by a junk value

7.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Media Image

What will be the output of the following C code?

Error because function name cannot be preceded by const

Blank screen, no output

Sanfoundry.com is printed infinite times

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 Education