Flutter

 36 Minutes
 18 Questions


This test is designed to assess a candidate's knowledge of the basics of technology and the Flutter framework. It will cover topics such as the fundamentals of Flutter, its architecture, and how to create basic applications using the framework. The test will also include questions about general technology concepts, such as software development principles and best practices.


Example Question:

Multiple-Choice
A recursive widget is a widget that returns an instance of itself. Given this recursive Flutter widget:



class RecursiveBox extends StatelessWidget {
 final int depth;


 RecursiveBox({required this.depth});


 @override
 Widget build(BuildContext context) {
  return depth <= 0
    ? Container(width: 50, height: 50, color: Colors.red)
    : Container(
      width: 100,
      height: 100,
      color: Colors.blue,
      child: Center(child: RecursiveBox(depth: depth - 1)),
     );
 }
}



If you use RecursiveBox(depth: 2) in your app, how many blue boxes will you see?