Snippets LookOver-round 2

Snippets LookOver-round 2

Professional Development

15 Qs

quiz-placeholder

Similar activities

Know your basics in C?

Know your basics in C?

Professional Development

20 Qs

Practice Test Operator and Control Flow Statement 01

Practice Test Operator and Control Flow Statement 01

Professional Development

15 Qs

C Code Master

C Code Master

Professional Development

20 Qs

c program -basic

c program -basic

Professional Development

10 Qs

Day 3 C Programming quiz

Day 3 C Programming quiz

Professional Development

10 Qs

Quiz Pratispardha

Quiz Pratispardha

Professional Development

20 Qs

Demo C programming

Demo C programming

Professional Development

10 Qs

C Code Master lvl 2 A

C Code Master lvl 2 A

Professional Development

10 Qs

Snippets LookOver-round 2

Snippets LookOver-round 2

Assessment

Quiz

Computers

Professional Development

Medium

Created by

Vishnu Kumar

Used 9+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What will be the output of the following Python program?

i = 0

while i < 5:

    print(i)

    i += 1

    if i == 3:

        break

else:

    print(0)

error

0 1 2 0

0 1

None of the above

2.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

#include <stdio.h>

int main()

{

int a=10,b=20;

if(a=b)

{

printf("Equal");

}

else

{

printf("Not Equal");

}

return 0;

}

}

Equal

Not Equal

Runtime error

Compile time error

3.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

function(){

if(actualtxt.equals(reversetxt)){

   return true;

else

     return false;

}

}

palindrome

reverseing the string

make exchange of odd and even places

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

SELECT * FROM student_details WHERE Student_name LIKE '%S%';

It will return the name starting with s

It will return the name ending with s

It will return the name who has s in between

5.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

you are asked to drop a column using alter statement then which syntax you will follow?

ALTER table_name TABLE DROP COLUMN column_name;

ALTER TABLE table_name DROP COLUMN column_name;

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following is the correct syntax to add a field using alter command?

ALTER TABLE table_name ADD field_name data type;

ALTER TABLE table_name, field_name data type;

ALTER TABLE field_name data type;

7.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

What is the output of this C code?

#include <stdio.h>

int main()

{

while ()

printf("In while loop ");

printf("After loop\n");

}

In while loop after loop

After loop

Compile time error

Infinite loop

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?