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
35 questions
Python

Quiz
•
Professional Development
32 questions
HISTORY OF COMPUTERS AND COMPUTER BASICS

Quiz
•
3rd Grade - Professio...
30 questions
Blind Coding Round 1

Quiz
•
Professional Development
30 questions
Excel Certification Practice test

Quiz
•
Professional Development
30 questions
Kotlin Quiz - Find the Output

Quiz
•
Professional Development
35 questions
PCEP-Python Programming Quiz

Quiz
•
Professional Development
30 questions
Computer Terminology

Quiz
•
1st Grade - Professio...
36 questions
Remedial Informatika-kelas 8

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

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

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

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade