Flutter Mock Interview | Interview Questions for Flutter Developers

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 พ.ย. 2024

ความคิดเห็น • 54

  • @gofullstack
    @gofullstack 8 หลายเดือนก่อน +5

    I'm glad I found this channel, I'm happy to learn more.

  • @slawomirkulinski
    @slawomirkulinski ปีที่แล้ว +10

    Some of the questions I am asking:
    - explain the difference between final and const
    - what is re-layout boundary
    - does layout in Flutter require single pass to measure and layout widgets or separate passes
    - when measuring and laying out widgets, explain what are responsibilities of a parent and child widget
    - is it permissable to use empty function as a parameter of setState()
    - what are the benefits of strong types
    - what are the benefits of non-nullable code
    - what is responsible for rendering in Flutter?
    - explain mixin
    - when would you use extension
    - is Dart compiled or interpreted language

    • @someuser9562
      @someuser9562 ปีที่แล้ว +9

      I code Flutter more than 2 years. Still I don't know how to answer some of those questions. For example, I've used Multi/Single/Leaf RenderObjectWidget to create Widgets which are hard to implement with common widgets but I don't know how to answer "what is responsible for rendering in Flutter?" or "what is re-layout boundary". (RepaintBoundary?)

    • @pistarrafernandez9830
      @pistarrafernandez9830 ปีที่แล้ว +2

      @@someuser9562 yeah your right lol i have been using flutter at least 1.5 years and i did develop some nice apps.. but this questions are really bad haha , i just knew like 20/30% of them xD

    • @InternationalNewsbd
      @InternationalNewsbd ปีที่แล้ว +16

      Difference between final and const:
      final is used to declare a variable that can be assigned a value only once. It is evaluated at runtime and can have different values for different instances. Once assigned, its value cannot be changed.
      const is used to declare a compile-time constant. It's a constant value known during compilation and remains the same for all instances. It's evaluated at compile time and is useful for performance optimizations.
      Re-layout boundary:
      A re-layout boundary in Flutter is a point in the widget tree where Flutter stops laying out its children. It helps optimize the rendering process by avoiding unnecessary layout calculations if the layout of certain widgets doesn't change.
      Layout in Flutter:
      Flutter uses a single-pass layout model. During the layout phase, each widget provides its preferred size, and the parent widget decides how to allocate space to its children based on those sizes. The layout process starts at the root widget and propagates down the tree.
      Responsibilities of parent and child widgets during layout:
      Parent Widget: The parent widget is responsible for providing constraints to its children, deciding how much space each child can occupy, and positioning them within its layout.
      Child Widget: The child widget is responsible for measuring itself within the given constraints provided by the parent and reporting its preferred size.
      Using an empty function as a parameter of setState():
      Yes, it is permissible to use an empty function as a parameter of setState(). setState() requires a callback function, and if you don't need to perform any specific actions when the state is updated, you can pass an empty function as a placeholder.
      Benefits of strong types:
      Strong types in Dart (which Flutter uses) help catch type-related errors during compile-time rather than runtime, reducing the possibility of bugs and improving code quality.
      Strongly typed code is easier to understand, refactor, and maintain. It also provides better tooling support like code completion, refactoring, and static analysis.
      Benefits of non-nullable code:
      Non-nullable code in Dart (introduced with Dart 2.12) adds null safety to the language, which helps eliminate null reference errors and makes code more reliable.
      Non-nullable code enables better static analysis, improved documentation, and easier understanding of code intent.
      What is responsible for rendering in Flutter:
      In Flutter, the rendering is handled by the Flutter framework itself. It has its own rendering engine that takes the widget tree as input, performs layout calculations, and paints the widgets onto the screen.
      Mixin:
      A mixin is a way to reuse a set of class members (methods and properties) in multiple class hierarchies without inheritance. It allows you to add functionality to a class without explicitly subclassing it.
      When to use extension:
      Extensions in Dart allow adding new functionality to existing classes. They are used to add methods or operators to an existing class without modifying its source code. Extensions are useful when you want to extend a class from an external library or when you want to add utility methods to built-in types.
      Is Dart a compiled or interpreted language:
      Dart is a compiled language. Dart source code is compiled into bytecode (using the Dart VM) or into native code (using the Dart AOT compiler) before execution. This compiled code is then executed by the Dart runtime environment.

  • @wdavis6254
    @wdavis6254 2 ปีที่แล้ว +33

    This was so clean. Great work Obella

    • @Turingcom
      @Turingcom  2 ปีที่แล้ว

      Glad you liked it! :)

  • @alexandroheredia
    @alexandroheredia ปีที่แล้ว +14

    We can benefit from adding post-production subtitles, in case you mispronounced something in the interview question. In most cases, I had to wait for Obella's answer to understand what you asked.

    • @Turingcom
      @Turingcom  ปีที่แล้ว +3

      Hey @alexandroheredia,
      Thanks for the great suggestion!
      We're working on incorporating post-production subtitles in our videos, so stay tuned for those and other new content.
      Cheers
      Turing

  • @linuxhopper6947
    @linuxhopper6947 2 ปีที่แล้ว +19

    Great mock interview and Obella just rocks!

    • @Turingcom
      @Turingcom  2 ปีที่แล้ว

      Glad you found this helpful! :)

  • @sulaimanhamzaabdulwahab2952
    @sulaimanhamzaabdulwahab2952 2 ปีที่แล้ว +9

    Great, finally @Jose, you brought flutter to the table

    • @Turingcom
      @Turingcom  2 ปีที่แล้ว +1

      Indeed! Glad you liked it! :)

  • @AmanAli-mi5ev
    @AmanAli-mi5ev 2 ปีที่แล้ว +9

    Obella you really have good knowledge , good work

    • @Turingcom
      @Turingcom  2 ปีที่แล้ว

      Thank you for the love on the video! :)

  • @gofullstack
    @gofullstack 8 หลายเดือนก่อน

    14:48 Lol, the late example is a very good one but I think something else would be better because when you introduce a late variable to a widget that can be unmounted then you don't need a hot restart because all that is required is unmount and mount, like back to home page then profile page again assuming the profile page is the widget that now has the late variable and you are on the page.

  • @burakcankurtarr2751
    @burakcankurtarr2751 ปีที่แล้ว +12

    Very useful video. Thank you guys both of you were amazing.

    • @Turingcom
      @Turingcom  ปีที่แล้ว

      Glad it was helpful!

  • @iboy883
    @iboy883 ปีที่แล้ว +2

    i really hope that wasn't an interview for a junior position the first questions were okay... the more we get into the video the more complicated they got even some questions didn't understand them....i started flutter 4 months ago and hopefully, I'll find a job by the end of the year thanks for the content

    • @Turingcom
      @Turingcom  ปีที่แล้ว

      Hi @iboy883,
      This mock interview is aimed towards Senior Flutter Developers.
      We're excited about your future prospects and love the fact that you're putting in the right efforts!
      Here's a list of resources that might help you to achieve your goal.
      Coursera - www.coursera.org/learn/algorithmic-thinking-1
      Hackerrank - https:/hackerrank.com/
      Codility - app.codility.com/demo/take-sample-test/
      Khan Acadamy - www.khanacademy.org/computing/computer-science/algorithms
      Data structures and algorithms - leetcode.com
      System Design - github.com/donnemartin/system-design-primer
      OOP & Design Patterns - th-cam.com/play/PLF206E906175C7E07.html
      Git - git-scm.com/book/en/v2
      w3schools- www.w3schools.com/
      Good luck!
      Regards,
      Turing

  • @gofullstack
    @gofullstack 8 หลายเดือนก่อน +1

    2:37 Flutter is an SDK rather than just a framework

  • @CODEDSTUDIO
    @CODEDSTUDIO ปีที่แล้ว +4

    Wow, this guy is great

    • @Turingcom
      @Turingcom  ปีที่แล้ว

      Glad you liked the video! :)

  • @dartmehedi555
    @dartmehedi555 2 หลายเดือนก่อน +2

    Easy interview

  • @jabidkhan6085
    @jabidkhan6085 5 หลายเดือนก่อน

    its helpful video Thank you!!

  • @minseokjeong1881
    @minseokjeong1881 10 หลายเดือนก่อน

    Obella has 6 years experience in mobile development. But I'm wonder as a newbie.
    How can i estimate to reach obellas knowledge in flutter area?

    • @therealt3cmd
      @therealt3cmd 10 หลายเดือนก่อน +1

      By working on real life projects as much as possible the faster and more rigorously you would do this the more quicker you can gain equivalent experience to that of obella !

  • @suniltewatia9764
    @suniltewatia9764 ปีที่แล้ว +1

    Great interview sir .These question help me lot ❤👏👏👏👏👏👏

    • @Turingcom
      @Turingcom  ปีที่แล้ว

      Glad to hear that! :)

  • @adnanhaider9949
    @adnanhaider9949 ปีที่แล้ว

    in a coding interview there is no option about dart language why ?

  • @mageshk1849
    @mageshk1849 4 หลายเดือนก่อน

    I think, this is easier for a six year experience person.

  • @andrew58934
    @andrew58934 2 ปีที่แล้ว +1

    I like this interview

  • @infotration2225
    @infotration2225 ปีที่แล้ว

    Very interesting and informative

    • @Turingcom
      @Turingcom  ปีที่แล้ว +1

      Glad you enjoyed the video! :)

  • @Motivationalvideos0067
    @Motivationalvideos0067 2 ปีที่แล้ว

    Great mock interview

    • @Turingcom
      @Turingcom  2 ปีที่แล้ว

      Thank you! Glad you found it helpful! :)

  • @sharewidrohit
    @sharewidrohit 2 ปีที่แล้ว

    This was really good 😊

    • @Turingcom
      @Turingcom  2 ปีที่แล้ว

      Glad you liked it! :)

  • @islamrafat8661
    @islamrafat8661 ปีที่แล้ว +3

    that was very clean , but his voice need to be higher

  • @bilal1708
    @bilal1708 9 หลายเดือนก่อน

    Obella 💯/💯

  • @ssaai
    @ssaai 2 ปีที่แล้ว

    nice 👏🏻👏🏻👏🏻👏🏻

  • @AsumahYakubu
    @AsumahYakubu ปีที่แล้ว

    waw, that was awesome

    • @Turingcom
      @Turingcom  ปีที่แล้ว

      Glad you enjoyed it! :)

  • @nnamanilota3973
    @nnamanilota3973 2 ปีที่แล้ว +7

    Looks flutter is somehow similar to reactNative..

    • @PankajNikam
      @PankajNikam 2 ปีที่แล้ว +2

      Its way different than ReactNative :) Main difference you can say is that Flutter renders every pixel on the device on its own instead of relying on underlying platform controls.

    • @balajiramadoss6014
      @balajiramadoss6014 2 ปีที่แล้ว

      ReactNative uses javascript window whereas flutter uses SKIA

  • @ahmadwahyuawaludin6976
    @ahmadwahyuawaludin6976 11 หลายเดือนก่อน

    🎉🎉❤

  • @joordii1994
    @joordii1994 8 หลายเดือนก่อน

    6 years experience in Flutter? Are you part of the original Flutter team or how is that?😂

    • @victordziedzorm
      @victordziedzorm 6 หลายเดือนก่อน +2

      No he said mobile and 3 years in flutter

  • @DungeonMaster-zf2cf
    @DungeonMaster-zf2cf 5 หลายเดือนก่อน +1

    Most of his answers are either incorrect or incomplete.

  • @MehadiHasanReaz
    @MehadiHasanReaz 10 หลายเดือนก่อน +1

    Flutter is not a framework. it's SDK

    • @abdallahhasan9371
      @abdallahhasan9371 9 หลายเดือนก่อน +1

      İts open source framework for making cross platform applications using Dart, also open source SDK .. so you can define it by using both definitions

    • @abdallahhasan9371
      @abdallahhasan9371 9 หลายเดือนก่อน +2

      To be more clear
      Flutter is both a framework and an SDK (Software Development Kit). The Flutter framework is a UI toolkit that provides a set of pre-designed widgets and tools for building user interfaces for applications. On the other hand, the Flutter SDK includes not only the framework but also essential tools, libraries, and compilers needed for developing, testing, and debugging Flutter applications. In summary, Flutter as a framework focuses on the UI components and structure, while the Flutter SDK encompasses the entire set of tools and resources for Flutter app development.