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

Multiple choice

What is the purpose of the manifest file in a PWA?

  1. Defines the application's name and icon

  2. Specifies the application's scope

  3. Defines the application's start URL

  4. All of the above

Reveal answer Fill a bubble to check yourself
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.

Multiple choice

What is the purpose of a service worker in a PWA?

  1. To cache static assets

  2. To handle push notifications

  3. To enable offline access

  4. All of the above

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

Service workers in PWAs serve multiple purposes, including caching static assets, handling push notifications, and enabling offline access.

Multiple choice

What are the different types of navigation?

  1. Global navigation, local navigation, and contextual navigation.

  2. Primary navigation, secondary navigation, and tertiary navigation.

  3. Horizontal navigation, vertical navigation, and diagonal navigation.

  4. Breadcrumbs, sitemaps, and search boxes.

Reveal answer Fill a bubble to check yourself
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.

Multiple choice

Which JavaScript function is used to display a message in a dialog box?

  1. alert()

  2. confirm()

  3. prompt()

  4. console.log()

Reveal answer Fill a bubble to check yourself
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.

Multiple choice

Which web design principle is concerned with the overall visual appearance of a website?

  1. Usability

  2. Accessibility

  3. Aesthetics

  4. Performance

Reveal answer Fill a bubble to check yourself
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.

Multiple choice

Which web design principle is concerned with making a website easy to use?

  1. Usability

  2. Accessibility

  3. Aesthetics

  4. Performance

Reveal answer Fill a bubble to check yourself
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.

Multiple choice

Which web design principle is concerned with making a website load quickly and efficiently?

  1. Usability

  2. Accessibility

  3. Aesthetics

  4. Performance

Reveal answer Fill a bubble to check yourself
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.

Multiple choice

Which web design principle is concerned with making a website responsive to different screen sizes?

  1. Usability

  2. Accessibility

  3. Aesthetics

  4. Responsive Design

Reveal answer Fill a bubble to check yourself
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.

Multiple choice

Which web design principle is concerned with making a website easy to find and navigate?

  1. Usability

  2. Accessibility

  3. Aesthetics

  4. Information Architecture

Reveal answer Fill a bubble to check yourself
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.

Multiple choice

Which of the following is NOT a common UX design pattern?

  1. Hamburger menu

  2. Search bar

  3. Pagination

  4. 404 page

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

404 page is not a UX design pattern.

Multiple choice

Which of the following is NOT a common UX Design pattern for Mobile Apps?

  1. Hamburger menu

  2. Tab bar

  3. Pull-to-refresh

  4. Infinite scrolling

Reveal answer Fill a bubble to check yourself
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.

Multiple choice

Which of the following is not a type of texture wrap mode?

  1. Repeat

  2. Clamp

  3. Mirror

  4. Border

Reveal answer Fill a bubble to check yourself
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.

Multiple choice

What is the significance of modding tools and APIs in game engine modding?

  1. They enable modders to easily modify and extend the game engine

  2. They provide a structured and standardized way to create mods

  3. They allow modders to access and manipulate game assets and data

  4. All of the above

Reveal answer Fill a bubble to check yourself
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.

Multiple choice

What is the primary purpose of the Angular framework?

  1. To build dynamic web applications

  2. To create mobile applications

  3. To develop desktop applications

  4. To design user interfaces

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Angular is primarily used for building dynamic web applications that are interactive and responsive.

Multiple choice

Which of the following is the core building block of an Angular application?

  1. Components

  2. Modules

  3. Services

  4. Directives

Reveal answer Fill a bubble to check yourself
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.