Quiz 1.2

Quiz
•
Computers
•
Professional Development
•
Easy
Mohand Mahmoud
Used 1+ times
FREE Resource
32 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
What is output of this code:
int x = 5.2
print(x)
5
5.2
5.0
Error
2.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
x = 14.9;
what is the type of variable x?
int
float
double
str
3.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
a = 9;
b = 5;
print("a>b");
what is the output of this code?
True
False
a>b
Error
4.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Type casting is when you assign a value of one data type to another type??
True
False
5.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
How do you start writing an if statement ?
if x > y:
if x>y {
if x > y then:
if (x > y)
6.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
what is the output of this code?
name="Ali"
out = name +"Ahmed"
print(out)
Ahmed
Ali
Ali Ahmed
Erorr
7.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
a = 9
b = 5
print(a>b and 4>7)
what is the output of this code?
9>5 and 4>7
a>b and 4>7
True
False
Create a free account and access millions of resources
Similar Resources on Wayground
30 questions
Python - Basic Data, Structure, and Concepts

Quiz
•
Professional Development
27 questions
Flapo SRE Quizzzz

Quiz
•
Professional Development
30 questions
Blind Coding Round 1

Quiz
•
Professional Development
30 questions
ML/AI internship Intermediate assessment

Quiz
•
Professional Development
34 questions
Cisco Collaboration Quick Assessment

Quiz
•
Professional Development
30 questions
Flutter Online

Quiz
•
Professional Development
30 questions
DIRECT DISTRUBUTION ORDERING BILL (PURCHASING AND LOGISTIC)

Quiz
•
Professional Development
35 questions
Python

Quiz
•
Professional Development
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade