Font size
WorksheetsFlutter
Total questions: 98
Worksheet time: 49mins
Enlist Some Major Features in flutter?
Fast Development
Expressive and flexible
All the above
Native Performance
The first version of Flutter was known as codename __________ and ran on the Android operating system
Sky
Flut
Cloud
Rain
Which of the following widgets use for layout ?
Expanded
Column
Inkwell
Text
The example of the Stateless widget ?
Text
Statebuild widget
Color
None of the above
Which widget has various properties like title, elevation,brightness
AppBar
Stateless
Stack
Container
A container can be decorated with a _____________, such as a background, a border, or a shadow
BoxDecoration
boxDecorator
None of the above
Both can be used
MyAppBar uses a __________layout to organize its children
Column
Container
Row
Layout
Flutter use platform primitives
True
False
Are stateless widgets mutable or immutable?
mutable
immutable
None of the above
Both
Flutter is not a language; it is an SDK
True
False
Flutter cannot be used to develop apps for which of the following?
Web
Voice Assistants
Desktop
Mobile
Which one of the following is a disadvantage of flutter?
Hot Reload
Hot Restart
Increased App Size
Increased Productivity
What is the name of the command you use to verify you have setup your flutter environment correctly?
flutter run
flutter doctor
flutter surgeon
dart export
Which of these functions contain the code which houses the widgets of your app?
debug()
build()
random()
runApp()
Which of these components is not a built-in widget of Flutter?
FloatingButton
AppBar
TextTransformer
TextStyle
Which of the following widgets use for layout ?
Text
Column
Expanded
Inkwell
Which function is responsible for starting the program?
runApp()
run()
flutter()
main()
The ________ operator is used to evaluate and returns the value between two expressions
?
&
&&
??
How many types of widgets are there in Flutter?
2
1
5
3
The function is responsible for returning the widgets that are attached to the screen
Container
SizedBox
main()
runApp()
Which of these is NOT a pro for Flutter?
free and open source
Highly productive and high performance
Develop for iOS and Android from a single codebase
More testing
Flutter is used to develop applications for (a) .
Flutter is an (a) mobile application development framework created by Google.
The first version of Flutter was known as codename (a) and ran on the Android operating system.
Flutter’s engine, written primarily in C++, provides low-level rendering support using Google’s Skia graphics library.
True
False
Flutter apps are written in the (a) language and make use of many of the language’s more advanced features.
Due to App Store restrictions on dynamic code execution, Flutter apps use (a) compilation on iOS.
A notable feature of the Dart platform is its support for hot reload
True
False
Is Flutter Free?
Yes
No
what are the best editors for flutter development?
Android studio
visual studio
intelliJ IDEA
Xcode
Are stateless widgets mutable or immutable?
mutable
immutable
what file allows you to set constraints to your app?
(a)
List different types of widgets available in Flutter?
stateless
stageless
statefull
stagefull
Enlist Some Major Features in flutter?
Fast Development
Expressive and flexible
Native Performance
All the above
What are build modes in flutter?
Debug
Profile
Release
All the above
Name the popular database package used in the Flutter?
sqflite database
Firebase database
Both
None
What is the output of this code?
const double PI=3.1416;
printf("%.2f",PI);
3.141
3.14
3.1416
3.1
What is the output of this code?
int count=1;
for(int i=0;i<10;i++){
for(int j=0;j<=10;j++){
count++;
}
}
printf("%i",count);
(a)
What is the output of this code?
int a=2;
int b=4;
a=b/a;
b=a+b;
a=a*b;
printf("%d",a);
(a)
What is the output of this code?
int x=1;
x%=3;
printf("%d",x);
(a)
C language support classes and objects
True
False
Fill in the blanks to calculate the sum of all elements in the array arr, which contains 7 elements:
int sum=0;
_(int x=0; x<_; x++){
sum+=arr[ _ ];
}
printf("%d",sum);
(a)
What is the output of this code?
int i=(1,2,3);
printf("%d",i);
(a)
What is the output of this code?
char str[10]="Hello";
printf("%d",sizeof(str));
(a)
Which statement is used to terminate the loop?
continue
break
exit
switch
What is the output of this code?
int min(int a, int b, int c){
int m=a;
if(b<m) { m=b; }
if(c<m) { m=c; }
return c;
}
int main() {
printf("%d",min(9,3,12));
}
(a)
What will be the output of the following C code?
#include <stdio.h>
void main()
{
int x = 5;
if (x < 1)
printf("hello");
if (x == 5)
printf("hi");
else
printf("no");
}
hi
hello
no
error
What will be the output of the following C code?
#include <stdio.h>
int main()
{
int x = 0;
if (x == 1)
if (x == 0)
printf("inside if\n");
else
printf("inside else if\n");
else
printf("inside else\n");
}
inside if
inside else if
inside else
compile time error
What will be the output of the following C code?
#include <stdio.h>
int main()
{
int x = 0;
if (x == 1)
if (x >= 0)
printf("true\n");
else
printf("false\n");
}
Depends on the compiler
No print statement
True
False
The switch statement takes a given integer value then seeks a matching value among a number of _______ statements.
break
case
switch
goto
How many loops are there in C
1
3
2
4
Which of the following is an exit control statement
for
while
do while
continue
The value of i after the execution of the following segment is
i = 2;
for( i=0; i>10; i=i+1);
1
2
0
11
The output of the following segment is
int k, n=20;
k=(n>5?(n<=10?100:200):500);
printf("%d",n);
100
200
300
20
C language developed at _____?
AT & T's Bell Laboratories of USA in 1972
AT & T's Bell Laboratories of USA in 1970
Sun Microsystems in 1973
Cambridge University in 1972
which is the only function all C programs must contain?
start()
sys()
main()
scanf()
Which of the following is not a correct variable type?
float
real
int
double
What will be the output of the following C code?
#include <stdio.h>
int main()
{
int a = 1, b = 1, c;
c = a++ + b;
printf("%d, %d", a, b);
}
a=1, b=1
a=2, b=1
a=1, b=2
a=2, b=2
What will be the output of the following C code?
#include <stdio.h>
int main()
{
int i = 0;
int j = i++ + i;
printf("%d\n", j);
}
0
1
2
compile time error
What will be the output of the following C code?
#include <stdio.h>
int main()
{
int a = 1, b = 1;
switch (a)
{
case a*b:
printf("yes ");
case a-b:
printf("no\n");
break;
}
}
yes
no
yes no
compile time error
Library function pow() belongs to which header file?
math.h
square.h
stdio.h
conio.h
Is it possible to run program without main() function?
yes
no
may be
How many main() function we can have in our project?
1
2
no limit
depends on the program
int x = 10;
int main()
{
int x = 0;
printf("%d",x);
return 0;
}
10
0
compile error
undefined
What should be the output:
int main()
{
int a = 10/3;
printf("%d",a);
return 0;
}
3.33
3.0
3
0
#include "stdio.h"
int main()
{
int a = 10;
printf("%d", a);
int a = 20;
printf("%d",a);
return 0;
}
1020
1010
2020
Error: Redeclaration of a
People have used the word ________ to mean computer information that is transmitted or stored.
Beta
Data
Database
None of above
_____________ specifies how we enter data into our programs and what type of data we enter.
data type
data
datum
all of above
void is __________ data type.
primary
derived
user defined
none of above
int is __________ data type.
user defined
derived
primary
all of above
Array is ___________ data type.
user defined
primary
derived
all of above
Pointer is __________ data type
derived
primary
user defined
none of above
In ____________ data structure, the data items are arranged in a linear sequence.
linear
non linear
both a and b
all of above
In ___________ data structures all elements may or may not be of same type.
linear
non linear
homogeneous
non- homogeneous
In ___________ data structure data items are not in sequence.
non linear
linear
non-homogeneous
all of above
____________data structures are those whose sizes and structures associated memory locations are fixed at compile time.
linear
homogeneous
static
dynamic
Stack uses __________ data structure as the element that was inserted last is the first one to be taken out.
LIPO
FIFO
LIFO
FIPO
Full form of LIFO is ____________
Last Inside First Outside
Last Innner First Outer
Last In First Out
Last Impact First Out
Every stack has a variable _________ associated with it.
TOP
BOT
POT
none of the above
_________ operation adds an element to the top of the stack.
pop
push
peep
all of the above
_________ operation removes the element from the top of the stack.
push
pop
update
none of the above
_________ operation returns the value of the topmost element of the stack.
push
pop
peep
update
_________ operation changes the value of element given by user of the stack.
push
pop
peep
update
A function calls itself is called ___________.
queue
recursion
function
none of above
A queue is a _________ data structure in which each element that was inserted first is the first one to be taken out.
FITO
FIFO
FISO
FIVO
The elements in a queue are added at one end called ________.
front
rear
near
none of above
(a)
a
b
c
d
There was a plane crash, every single person died then who survived
(a)
1
2
3
a
b
c
d
a
b
c
d
1
2
3
4
(a)
What comes once in a minute, twice in a moment and never in a thousand years
(a)
In this room two people go in and three come out, what am I ?
(a)
a
b
c
d
(a)
