#include <\c>

#include <\c>

University

13 Qs

quiz-placeholder

Similar activities

0xDebug - Python

0xDebug - Python

University

10 Qs

Quiz #1

Quiz #1

University

16 Qs

Python Basics Quiz 1

Python Basics Quiz 1

8th Grade - University

15 Qs

Java Control Flow statements

Java Control Flow statements

University

10 Qs

Python Dictionaries

Python Dictionaries

University

10 Qs

Python Pre-Cal Quiz

Python Pre-Cal Quiz

University

10 Qs

Python Control Statements

Python Control Statements

University

10 Qs

IEEE Coding Competition

IEEE Coding Competition

University

13 Qs

#include <\c>

#include <\c>

Assessment

Quiz

Computers

University

Medium

Created by

SALIN SHAIN

Used 2+ times

FREE Resource

13 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following is not a valid C variable name?

int num1;

int num_1;

int $num1;

int num;

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is an example of iteration in C?

for

while

do-while

all of these

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

scanf() is a predefined function in______header file.

stdlib. h

ctype. h

stdio. h

stdarg. h

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

what is the output of the following code snippet?

10

20

Error

None of these

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following is the characteristics of an algorithm?

Feasibility

Finiteness

Unambiguous

All of these

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

what is the output of the following code snippet?

4 6 2

2 4 6

2 2 4

4 6 6

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

what is the output of the following code snippet?

10

0

10 10 10 10....(infinity loop)

error

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?