what is the output of this code?
int x =5.2;
print(x);
Flutter full quiz
Quiz
•
Computers
•
Professional Development
•
Medium
Mina Romany
Used 9+ times
FREE Resource
23 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
what is the output of this code?
int x =5.2;
print(x);
5
5.2
5.0
Error
2.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
var x = 14.9;
what is the type of variable x?
int
var
double
float
3.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Fill the gaps.
___Declaring an integer
and printing it___
int x = 42;
print(x);
//......//
<..............>
/*.....*/
?...........?
4.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
what is the output of this code?
const R = 3.1;
R=5;
print(R);
Error
5
3.1
null
5.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
which one print 10?
int num =9;
print ("the number is $num + 1");
int num =9;
print ("the number is ${num + 1}");
int num =9;
print ("the number is num +1")
int num =9;
print ("the number is " + (num +1));
6.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
var a ="4";
var b ="2";
print(a+b);
what is the output of this code?
Error
Null
42
6
7.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Which operator is used to determine the remainder?
/
*
-
%
20 questions
CodeHS - Intro to Python - Basics and Console Interaction
Quiz
•
9th Grade - Professio...
24 questions
DATATYPES - INPUT/OUTPUT - OPERATORS
Quiz
•
Professional Development
20 questions
Python
Quiz
•
Professional Development
20 questions
Python Programming Fundamental
Quiz
•
Professional Development
20 questions
first round quiz
Quiz
•
Professional Development
21 questions
Java Quiz on Module 1 & 2
Quiz
•
Professional Development
21 questions
Flutter_Q1
Quiz
•
Professional Development
22 questions
Flutter_Q2
Quiz
•
Professional Development
15 questions
Multiplication Facts
Quiz
•
4th Grade
20 questions
Math Review - Grade 6
Quiz
•
6th Grade
20 questions
math review
Quiz
•
4th Grade
5 questions
capitalization in sentences
Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance
Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions
Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines
Quiz
•
Professional Development
12 questions
Dividing Fractions
Quiz
•
6th Grade