9.4.25 Mentoring quiz

9.4.25 Mentoring quiz

University

20 Qs

quiz-placeholder

Similar activities

Arrays and Linked Lists

Arrays and Linked Lists

University

15 Qs

Prelims - LIST

Prelims - LIST

University

20 Qs

Data Structures

Data Structures

University

20 Qs

Basics of Data Structure

Basics of Data Structure

University

20 Qs

ITEDAT Endterm Quiz #3

ITEDAT Endterm Quiz #3

University

20 Qs

LINKEDLIST- DSA -2-3

LINKEDLIST- DSA -2-3

University

20 Qs

DSA Quiz 2

DSA Quiz 2

University

18 Qs

STRUKTUR DATA (QUIZ FINAL)

STRUKTUR DATA (QUIZ FINAL)

University

15 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?