
Snippets LookOver-round 2

Quiz
•
Computers
•
Professional Development
•
Medium
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
Similar Resources on Wayground
10 questions
Day 1 C Programming Quiz

Quiz
•
Professional Development
16 questions
Final Assessment

Quiz
•
Professional Development
13 questions
Examen 2

Quiz
•
Professional Development
12 questions
Day 5: Operators p1

Quiz
•
Professional Development
15 questions
Repaso de Python

Quiz
•
5th Grade - Professio...
15 questions
CS402 T04

Quiz
•
Professional Development
10 questions
c program -basic

Quiz
•
Professional Development
10 questions
Demo C programming

Quiz
•
Professional Development
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade