Quiz 2

Quiz
•
Computers
•
University
•
Hard
Mohand Mahmoud
Used 1+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
what is the alternative of x=x+5?
x+=5
x=+5
5+=x
Erorr
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you start writing an if statement ?
if x > y:
if (x > y)
if x > y then:
if x>y {
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
what is the output of this code?
name="Ali"
out = name +"Ahmed"
print(out)
Ali Ahmed
Ali
Ahmed
Erorr
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
a = 9
b = 5
print(a>b and 4>7)
what is the output of this code?
9>5 and 4>7
false
a>b and 4>7
Error
5.
MULTIPLE SELECT QUESTION
30 sec • 2 pts
where can we use break?
if statement
ternary condition
while loop
for loop
switch statement
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
what does continue do?
skip iteration
call a method
go to a function
go out of loop
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
from what we can read input from user?
readlinesync();
Console.readline();
x=input()
cin>>;
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Python Quiz - BPLCK105B

Quiz
•
University
15 questions
Round 1 (Tech Utsav)

Quiz
•
University
20 questions
Programming in C(1)

Quiz
•
University
10 questions
Python Basics

Quiz
•
University
17 questions
Operators in Python

Quiz
•
9th Grade - Professio...
20 questions
Java Quiz 1

Quiz
•
University
13 questions
Python Module 1

Quiz
•
University - Professi...
10 questions
Java Control Flow statements

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University