9.4.25 Mentoring quiz

9.4.25 Mentoring quiz

University

20 Qs

quiz-placeholder

Similar activities

Final Quiz

Final Quiz

University

20 Qs

Mocademy - Quiz 2

Mocademy - Quiz 2

University

15 Qs

Quiz1 TAFL(module-2)2020-21

Quiz1 TAFL(module-2)2020-21

University

20 Qs

DS Module 3 Linked List

DS Module 3 Linked List

University

15 Qs

DSA - Q1

DSA - Q1

University

25 Qs

Programming in C - Structure

Programming in C - Structure

University

20 Qs

New DSC Quiz

New DSC Quiz

University

20 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

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?