Search Header Logo

Snippets LookOver-round 2

Authored by Vishnu Kumar

Computers

Professional Development

Used 9+ times

Snippets LookOver-round 2
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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

Access all questions and much more by creating a free account

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

Already have an account?