
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
10 questions
Come, Let's Warm Up!

Quiz
•
Professional Development
10 questions
Day5_Quiz_NBKR

Quiz
•
Professional Development
10 questions
TELEMARKETING AND SALES VOCABULARY

Quiz
•
Professional Development
10 questions
Java Quiz1 Basics and OOPS

Quiz
•
Professional Development
10 questions
Flutter_Q5

Quiz
•
Professional Development
10 questions
Simple Easy Basic Lua Quiz

Quiz
•
4th Grade - Professio...
10 questions
Day16_Quiz_NBKR

Quiz
•
Professional Development
10 questions
Day12_Quiz_NBKR

Quiz
•
Professional Development
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

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

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade