WorksheetsFlutter Q_0
Total questions: 15
Worksheet time: 8mins
what is the output of this code?
const R = 3.1;
R=5;
print(R)
3.1
5
3
Error
Fill the gaps.
___Declaring an integer
and printing it___
int x = 42;
print(x);
//.........//
<----...................----->
?-------------?
/*............*/
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));
var a ="4";
var b ="2";
print(a+b);
what is the output of this code?
6
4+2
42
a+b
Which operator is used to determine the remainder?
/
%
*
!
var a = 9;
var b = 5;
print("a>b");
what is the output of this code?
true
9>5
a>b
error
var a = 9;
var b = 5;
print(a>b);
what is the output of this code?
false
true
Error
a>b && 4>7
Dart is an open source programming language developed by ......?
Microsoft
Oracle
if you initialize a variable as var,once assigned type cannot change?
True
False
Semicolons are .....?
Required
Optional
Dart is not an Object-oriented language ?
true
false
dart is native language?
true
false
print("20"+"30");
What is the output?
50
50.0
50.00
20+30
num x=18.0;
what is the data type of the variable x;
num
double
float
int
VS Code is......?
SDK
IDE
Framework
