Computer Knowledge
GUI and Web Frameworks
1,711 Questions
Graphical user interface and web frameworks involve layout management, directives, and application design across platforms like Android and Angular. These concepts are tested in computer science and IT officer competitive exams. Review these questions to understand UI components and coding standards.
Android layout attributesAngular structural directivesVB.Net web methodsJava Swing componentsSiebel application framework
GUI and Web Frameworks Questions
What is the purpose of the manifest file in a PWA?
-
Defines the application's name and icon
-
Specifies the application's scope
-
Defines the application's start URL
-
All of the above
D
Correct answer
Explanation
The manifest file in a PWA serves multiple purposes, including defining the application's name and icon, specifying its scope, and defining its start URL.
What is the purpose of a service worker in a PWA?
-
To cache static assets
-
To handle push notifications
-
To enable offline access
-
All of the above
D
Correct answer
Explanation
Service workers in PWAs serve multiple purposes, including caching static assets, handling push notifications, and enabling offline access.
What are the different types of navigation?
-
Global navigation, local navigation, and contextual navigation.
-
Primary navigation, secondary navigation, and tertiary navigation.
-
Horizontal navigation, vertical navigation, and diagonal navigation.
-
Breadcrumbs, sitemaps, and search boxes.
A
Correct answer
Explanation
There are three main types of navigation: global navigation, local navigation, and contextual navigation. Global navigation is the system of links that appears on every page of a website or application. Local navigation is the system of links that appears on a specific page or section of a website or application. Contextual navigation is the system of links that appears within the content of a specific page or section of a website or application.
Which JavaScript function is used to display a message in a dialog box?
-
alert()
-
confirm()
-
prompt()
-
console.log()
A
Correct answer
Explanation
The alert() function is used to display a message in a dialog box. It takes a string as an argument and displays it in a dialog box with an OK button.
Which web design principle is concerned with the overall visual appearance of a website?
-
Usability
-
Accessibility
-
Aesthetics
-
Performance
C
Correct answer
Explanation
Aesthetics is the web design principle that is concerned with the overall visual appearance of a website. It includes elements such as color, typography, and layout.
Which web design principle is concerned with making a website easy to use?
-
Usability
-
Accessibility
-
Aesthetics
-
Performance
A
Correct answer
Explanation
Usability is the web design principle that is concerned with making a website easy to use. It includes elements such as clear navigation, consistent design, and responsive design.
Which web design principle is concerned with making a website load quickly and efficiently?
-
Usability
-
Accessibility
-
Aesthetics
-
Performance
D
Correct answer
Explanation
Performance is the web design principle that is concerned with making a website load quickly and efficiently. It includes elements such as optimizing images, using a content delivery network (CDN), and minifying CSS and JavaScript files.
Which web design principle is concerned with making a website responsive to different screen sizes?
-
Usability
-
Accessibility
-
Aesthetics
-
Responsive Design
D
Correct answer
Explanation
Responsive Design is the web design principle that is concerned with making a website responsive to different screen sizes. It includes elements such as using flexible layouts, using media queries, and avoiding fixed widths and heights.
Which web design principle is concerned with making a website easy to find and navigate?
-
Usability
-
Accessibility
-
Aesthetics
-
Information Architecture
D
Correct answer
Explanation
Information Architecture is the web design principle that is concerned with making a website easy to find and navigate. It includes elements such as organizing content into categories, creating clear and concise navigation menus, and using breadcrumbs.
Which of the following is NOT a common UX design pattern?
-
Hamburger menu
-
Search bar
-
Pagination
-
404 page
D
Correct answer
Explanation
404 page is not a UX design pattern.
Which of the following is NOT a common UX Design pattern for Mobile Apps?
-
Hamburger menu
-
Tab bar
-
Pull-to-refresh
-
Infinite scrolling
D
Correct answer
Explanation
Infinite scrolling is not a common UX Design pattern for Mobile Apps. Hamburger menu, Tab bar, and Pull-to-refresh are common UX Design patterns.
Which of the following is not a type of texture wrap mode?
-
Repeat
-
Clamp
-
Mirror
-
Border
D
Correct answer
Explanation
Border is not a type of texture wrap mode. It is a type of texture filter that is used to handle textures that are smaller than the surface they are being applied to.
What is the significance of modding tools and APIs in game engine modding?
-
They enable modders to easily modify and extend the game engine
-
They provide a structured and standardized way to create mods
-
They allow modders to access and manipulate game assets and data
-
All of the above
D
Correct answer
Explanation
Modding tools and APIs provide modders with the necessary resources and frameworks to modify and extend the game engine, access game assets and data, and create mods in a structured and standardized manner.
What is the primary purpose of the Angular framework?
-
To build dynamic web applications
-
To create mobile applications
-
To develop desktop applications
-
To design user interfaces
A
Correct answer
Explanation
Angular is primarily used for building dynamic web applications that are interactive and responsive.
Which of the following is the core building block of an Angular application?
-
Components
-
Modules
-
Services
-
Directives
A
Correct answer
Explanation
Components are the fundamental building blocks of an Angular application. They encapsulate data and behavior, and can be reused throughout the application.