9.4.25 Mentoring quiz

9.4.25 Mentoring quiz

University

20 Qs

quiz-placeholder

Similar activities

DSQUIZ 2020-21

DSQUIZ 2020-21

University

18 Qs

Linked list 1

Linked list 1

University

20 Qs

Data Structure Quiz1

Data Structure Quiz1

University

20 Qs

DS - Linked List - S1

DS - Linked List - S1

University

16 Qs

Data Structures

Data Structures

University

20 Qs

Linked List and Arrays in JAVA

Linked List and Arrays in JAVA

University

16 Qs

Linked List

Linked List

KG - University

18 Qs

data structures1

data structures1

University

20 Qs

9.4.25 Mentoring quiz

9.4.25 Mentoring quiz

Assessment

Quiz

Computers

University

Hard

Created by

Dr. S. Deepak Raj

Used 1+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Code executed based on a condition being true
Sequence
Selection
Iteration
Variable

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the following code do? myAge = int (myAge)

Converts the var (variable) myAge to a string

Converts the var (variable) myAge to a integer

Converts the var (variable) myAge from a integer to a string

Converts the var (variable) myAge to if statement

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will the output be from the following code?
print("Hello world!" * 2)
TypeError
Hello world world!
Hello world!Hello world!
Hello world! * 2

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which paradigm dictates WHAT should be done but not HOW it should be done?

Declarative

Imperative

Object Oriented

Low level

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of C Program.?

int main()

{

int a=5;

while(a >= 3);

{

printf("RABBIT\n");

break;

}

printf("GREEN");

return 0;

}

GREEN

RABBIT GREEN

RABBIT is printed infinite times

None of the above

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of C Program.?

int main()

{

int a=25;

while(a <= 27)

{

printf("%d ", a);

a++;

}

return 0;

}

25 25 25

25 26 27

27 27 27

Compiler error

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Choose a correct C Statement.

a++ is (a=a+1) POST INCREMENT Operator

a-- is (a=a-1) POST DECREMENT Operator

--a is (a=a-1) PRE DECREMENT Operator

++a is (a=a+1) PRE INCREMENT Operator

All the above.

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?