
Quiz 2
Authored by Mohand Mahmoud
Computers
University
Used 1+ times

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
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>>;
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
15 questions
Assessment 08
Quiz
•
University
15 questions
Monday Week#2
Quiz
•
University
15 questions
Partes de una PC
Quiz
•
7th Grade - University
10 questions
RAID
Quiz
•
University
15 questions
MBBT-2
Quiz
•
University
10 questions
Microcontroller
Quiz
•
11th Grade - University
14 questions
Input, output and storage de
Quiz
•
8th Grade - Professio...
20 questions
PHP First Internal Practical Viva
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade