Professional Documents
Culture Documents
Contributed by
Dr. Rachana Shukla
Darshana A. Patel
KARTIK M. THAKKAR
Ms. Aarti H Jariwala
Nehal Patel
MOHAMEDSOHEL SHAIKH
HARDIK ASHWINBHAI GANGADWALA
JINAL DIVYESHKUMAR PATEL
Page 1 of 6
Unit 3 Mobile Application Development II - MCQ Question Bank
13 Which of the following is not a feature of It is Open-source It is Platform Dart is Stable and None of the above D
Dart? comes with BSD independent like very useful for real
licence, it is free and java and can run on time applications.
available publicly. any platform using
DVM (Dart Virtual
Machine)
14 Dart is an Object-Oriented language. No Yes Can be yes or no Can not say B
15 The _______ function is a predefined method declare() list() main() return() C
in Dart.
16 --version command is used to Enables assertions Displays VM version Specifies the path Specifies the path B
information
17 What is an entry point in Dart? declare() list() main() return() C
18 Which statement is correct? Given: var nums nums.forEach((n) { nums.forEach(print( nums.forEach(print( nums.foreach(n.print A
= ['one', 'two', 'three']; print(n); }); num.toString()); num)); ());
19 Which of the following is not a type of Named parameter Default parameter Optional parameter Null parameter D
parameter in dart?
20 Flutter apps are written in the __________ Dart C++ C Swift A
language and make use of many of the
language's more advanced features.
21 Dart programs run in _______ modes. 2 3 4 5 A
22 Which of the following statements does not print("Your name is print('Your name is print('Your name is None C
use string interpolation correctly? Variable $name"); ${name}'); {name}');
name is declared as: var name = "Me";
23 How can we use optional / Skip parameter in [] {} () None of the A
Dart function? mentioned
24 Online Dart editor is also known as ________ Dart compiler Dart pad Dart JVM Dart AOT B
25 Which of the following statements is/are true (i) is true and (ii) is (i) is false and (ii) is Both (i) & (ii) are true Both (i) & (ii) are C
about set (i)The entire set elements can be false true false
removed using the clear() methods.
(ii)Remove() method is used to remove
single element from set at a time
26 Which of the following is not a datatype in Character Boolean Map List A
Dart?
Page 2 of 6
Unit 3 Mobile Application Development II - MCQ Question Bank
32 __________ does not allow storing of List Set Map All of above B
duplicate values
33 Which of the following is not a type of Single-line Multiline Documentation None of the above D
comment in dart?
34 An ________ is a real-time representation of Method Object Class None of the above B
any entity.
35 Declaring the variable without initializing any 0 (zero) empty Null garbage value C
value, what will be the default value of the
variable?
36 Which statement calls function fullName var a= var a = var a = none B
correctly? Given fullName is defined as: String fullName('First', fullName('First', fullName('First',
fullName(String first, String last, [String 'Last', ['Middle']); 'Last', null); 'Last', middle:
middle]) { return middle == null? '$first $last': 'Middle');
'$first $middle $last'; }
37 In Named parameter which of the following is Sequence of Sequence of Sequence of None of the A
true. parameter does not parameter matter. parameter matter mentioned.
matter. only for first
parameter.
38 Following is not data type of DART Symbols Runes Maps Array D
39 _____________ is not a method of map add() clear() remove() forEach() A
40 Dart performs Static type checking Runtime type Both static and None of the above C
checking Runtime Type
checking
41 If you don’t want to change the variable value, def const constant fixed B
what keyword need to be used?
Page 3 of 6
Unit 3 Mobile Application Development II - MCQ Question Bank
46 Which function declaration is correct? int multiply(a, b) => { int multiply(int a, int int multiply(int a, int none C
return a * b; } b) => return a * b; b) => a * b;
Page 4 of 6
Unit 3 Mobile Application Development II - MCQ Question Bank
Page 5 of 6
Unit 3 Mobile Application Development II - MCQ Question Bank
Page 6 of 6