Posts

VIVA VOCE SAMPLE QUESTIONS

SAMPLE QUESTIONS: https://medium.com/@blup-tool/top-20-flutter-interview-questions-basic-concepts-and-fundamentals-9e3525c6ad89  ✅ 1: Introduction to Flutter (Basics) 1. What is Flutter? Flutter is an open-source UI toolkit by Google used to build applications for mobile, web, and desktop from a single codebase using Dart. 2. What programming language is used in Flutter? Dart is the primary language used in Flutter development. 3. What is a widget in Flutter? A widget is the fundamental building block of the Flutter UI. Everything in Flutter (buttons, text, layouts) is a widget. 4. What are the types of widgets in Flutter? There are two main types: StatelessWidget (immutable, UI doesn’t change) StatefulWidget (mutable, UI can change dynamically) 5. What is the main entry point of a Flutter app? The main() function is the entry point, where runApp() is called. ✅ 2. Exploring Widgets and Layouts Q2.1: What are the basic UI widgets in Flutter? A: Text, Image, Container, Icon, Button, ...

LAB EXPERIMENT DATES

  IT-A,B EXP NO-DATE 1-14/7/25 2-21/7/25 3-28/7/25 4-4/8/25 5-11/8/25 6-18/8/25 7-8/9/25 8-15/9/25 9-22/9/25 10-6/10/25 IT-C,CSBS EXP NO-DATE 1-15/7/25 2-22/7/25 3-29/7/25 4-5/8/25 5-12/8/25 6-19/8/25 7-2/9/25 8-16/9/25 9-23/9/25 10-7/10/25 AIDS-A,B EXP NO-DATE 1-16/7/25 2-23/7/25 3-30/7/25 4-6/8/25 5-13/8/25 6-20/8/25 7-3/9/25 8-17/9/25 9-24/9/25 10-8/10/25 AIDS-C EXP NO-DATE 1-17/7/25 2-24/7/25 3-31/7/25 4-7/8/25 5-14/8/25 6-21/8/25 7-4/9/25 8-18/9/25 9-25/9/25 10-9/10/25

EXPERIMENT-10

 10a) Write unit tests for UI components Unit tests in UI components are automated tests that verify the smallest parts of the user interface—like individual widgets or components—work correctly in isolation. What are unit tests in UI components? Unit tests focus on testing one small piece of UI code at a time (e.g., a button, text label, or custom widget). They check that the UI component: Displays the right content (like correct text or images). Responds properly to user interactions (like taps or clicks). Changes appearance or behavior as expected when given different inputs or states. Unit tests do not involve testing the entire app or complex user flows; they focus on one component’s logic and rendering. Why are unit tests for UI components important? They help catch bugs early in development. Ensure UI behaves as intended with different data or user actions. Make it safer to refactor or improve code because you can quickly detect if something breaks. Improve code quality...

EXPERIMENT-9

Image
 9a) Fetch data from a REST API. We have a lot of ways to show data in our app: Static Data From a file And another form is from a database or public APIs. The most popularly used form is from Database or Public APIs. An API (Application Programming Interface) is a set of rules and protocols that allows different software applications to communicate and interact with each other.  In simpler terms, an API is like a menu in a restaurant: it tells you what you can order (available functions), how to order it (the request format), and what you will get back (the response). This allows developers to use functionalities of other software or services without needing to understand their internal workings. REST API enables communication between client and server over HTTP by exposing resources via URLs and allowing operations on these resources using standard HTTP methods. It is widely used for building web services and mobile app backends. How do APIs Work? A user application can c...

EXPERIMENT-8

  8a)   Add animations to UI elements using Flutter's animation framework. import 'package:flutter/material.dart'; void main() {   runApp(MyApp()); } class MyApp extends StatelessWidget {   @override   Widget build(BuildContext context) => MaterialApp(home: AnimatedHome()); } class AnimatedHome extends StatefulWidget {   @override   _AnimatedHomeState createState() => _AnimatedHomeState(); } class _AnimatedHomeState extends State<AnimatedHome> with TickerProviderStateMixin {   double position = 0;   late final AnimationController _colorController;   late final Animation<Color?> _colorAnimation;   late final AnimationController _rotationController;   late final Animation<double> _rotationAnimation;   @override   void initState() {     super.initState();     _colorController = AnimationController(vsync: this, duration: Duration(seconds: 3))..repeat(reverse: true); ...

OUTPUTS OF ALL EXPERIMENTS

Image
                                                  2A)                                                    2B)                                                     3A)                                                       3B) 4A) 4B) 5A) 5B) 6A) 6B) 7A) 7B) 8A) 8B) 9A) 9B) 10A) 10B)

EXPERIMENT-7

 7a)Design a form with various input fields. import 'package:flutter/material.dart'; void main() {   runApp(MyApp()); } class MyApp extends StatelessWidget {   @override   Widget build(BuildContext context) {     return MaterialApp(       title: 'User Form',       home: Scaffold(         appBar: AppBar(           title: Text('User Input Form'),         ),         body: SingleChildScrollView(           padding: EdgeInsets.all(16.0),           child: UserForm(),         ),       ),     );   } } class UserForm extends StatefulWidget {   @override   State<UserForm> createState() => _UserFormState(); } class _UserFormState extends State<UserForm> {   String? _name;   String? _email;   String? _phoneNumber; ...