Desktop Application Desktop Application Development Frameworks 1 — Questions and Answers
Question 1: Which Microsoft framework is used to build modern Windows desktop applications with XAML-based UI and C#?
- WinUI 3 / Windows App SDK (Correct answer)
- WinForms
- MFC
- ATL
Correct answer: WinUI 3 / Windows App SDK
WinUI 3 (Windows App SDK) is Microsoft's modern UI framework for Windows desktop apps, using XAML markup and C# or C++.
Question 2: What is Electron used for in desktop application development?
- Building cross-platform desktop apps using web technologies (HTML, CSS, JavaScript) (Correct answer)
- Creating hardware-accelerated 3D desktop applications
- Developing native macOS applications with Swift
- Building real-time collaborative desktop tools
Correct answer: Building cross-platform desktop apps using web technologies (HTML, CSS, JavaScript)
Electron bundles Chromium and Node.js to let web developers build desktop apps using familiar web technologies.
Question 3: Which Java framework is most commonly used to build cross-platform desktop GUI applications?
- JavaFX (Correct answer)
- Spring MVC
- Hibernate
- Apache Struts
Correct answer: JavaFX
JavaFX is the modern Java framework for building cross-platform desktop GUI applications with CSS styling and FXML layout.
Question 4: What is Qt primarily used for in desktop application development?
- Building cross-platform desktop applications in C++ (or Python via PyQt/PySide) (Correct answer)
- Creating server-side APIs for desktop clients
- Designing databases for desktop application backends
- Building mobile-only applications for Android and iOS
Correct answer: Building cross-platform desktop applications in C++ (or Python via PyQt/PySide)
Qt is a powerful C++ framework for building cross-platform desktop applications that run on Windows, macOS, and Linux from a single codebase.
Question 5: What does the acronym 'SDK' stand for in the context of desktop application development?
- Software Development Kit (Correct answer)
- System Design Knowledge
- Source Data Keeper
- Secure Deployment Key
Correct answer: Software Development Kit
An SDK (Software Development Kit) provides the tools, libraries, APIs, and documentation needed to build applications for a specific platform.
Question 6: Which Python library is commonly used to build simple cross-platform desktop GUI applications?
- Tkinter (Correct answer)
- Django
- Flask
- Pandas
Correct answer: Tkinter
Tkinter is Python's built-in GUI library that wraps the Tk toolkit, providing a simple way to create cross-platform desktop applications.
Which Microsoft framework is used to build modern Windows desktop applications with XAML-based UI and C#?