
Dart Q_6

Quiz
•
Professional Development
•
Professional Development
•
Hard
Mina Romany
Used 9+ times
FREE Resource
9 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
main() { sum(x:2,z:"5",y:8); }
sum ({x,y,String? z}) {print(x+y);}
What is the output of this code?
error
10
null
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
main(){ sum(2,5,2); }
int sum ({x,y,z}) {print(x+y+z);}
What is the output of this code?
9
error
null
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
can we pass to a function an argument string list only?
true
false
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
main(){ print(div(12,3) );}
div(x,y){return x/y;}
4
error
null
none of these
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
main(){ print(div(12,3) );}
div(x,y){x~/y;}
error
null
4
4.0
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
void main() { String x = sum(); print(x); } sum(){ return 7+8+13; }
what is the output?
28
25
null
error
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
void main() {print(sum());}
sum(){print( 7+8+13);}
what is the output?
28
null
28
null
null
28
8.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
can we pass to a function an argument of type function?
true
false
9.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
main() { sum(x:2,z:"5",y:8); }
sum ({x,y,String z}) {print(x+y);}
What is the output of this code?
error
10
null
Similar Resources on Wayground
12 questions
Flutter Q1.2

Quiz
•
Professional Development
14 questions
ABREDES - Devasc Python

Quiz
•
Professional Development
10 questions
DBMS QUIZ

Quiz
•
Professional Development
12 questions
Pop Quiz Oct-2021

Quiz
•
Professional Development
11 questions
DC Circuits II MA 02 02 23

Quiz
•
Professional Development
10 questions
New Hire Orientation

Quiz
•
Professional Development
11 questions
Super Friday Week 4 New

Quiz
•
Professional Development
10 questions
PWC_Python_Day2

Quiz
•
Professional Development
Popular Resources on Wayground
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
20 questions
ELA Advisory Review

Quiz
•
7th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns

Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade