Font size
WorksheetsBasic Questions
Total questions: 72
Worksheet time: 38mins
Which tag is used to create a hyperlink in HTML?
<a>
<href>
<url>
<link>
What does HTML stand for?
HyperText Markup Language
Home Tool Markup Language
Hyperlinks and Text Markup Language
Hyperlinking Text Management Language
Which tag is used to display an image?
<img>
<pic>
<scr>
<Photo>
Which attribute specifies the destination URL in a link?
href attribute
src attribute
alt attribute
title attribute
Which tag defines a table row?
<tr>
<table>
<td>
<row>
Which property changes the text color in CSS?
color property
background-color property
font-size property
border property
What does CSS stand for?
Cascading Style Sheets
Computer Style Syntax
Creative Style System
Colorful Style Sheet
Which property is used for background color?
background-color
color
font-size
border-style
What is the correct syntax to print something to the console?
console.log("message");
print("message");
echo "message";
System.out.println("message");
What keyword declares a variable that cannot be reassigned?
const
let
var
static
What does HTTP stand for?
HyperText Transfer Protocol
HighText Transfer Protocol
HyperText Transmission Process
Home Tool Transfer Protocol
Which port does HTTPS commonly use?
Port 443
Port 80
Port 21
Port 25
Which protocol is used to send emails?
SMTP (Simple Mail Transfer Protocol)
FTP (File Transfer Protocol)
HTTP (HyperText Transfer Protocol)
POP3 (Post Office Protocol 3)
What is the main purpose of DNS?
To translate domain names into IP addresses
To encrypt internet traffic
To store website content
To manage user passwords
Which language runs in the browser and provides interactivity?
JavaScript
Python
C++
Java
Which input type creates a slider in a form?
type="range"
type="slider"
type="scroll"
type="bar"
What is the purpose of the form tag?
To collect and submit user input
To display images on a webpage
To create hyperlinks to other pages
To style the content of a webpage
Which attribute makes a field mandatory in HTML?
required
mandatory
compulsory
obligatory
Which tag defines a dropdown list?
<select>
<dropdown>
<option>
<list>
Which attribute defines a text field’s placeholder text?
placeholder
value
label
alt
Which CSS property controls the layout grid columns?
grid-template-columns
grid-row-gap
flex-direction
align-items
What is the viewport meta tag used for?
To control how a webpage is displayed on mobile devices
To add a background image to a webpage
To define the language of the webpage
To link external JavaScript files
Which layout system provides flexible boxes?
Flexbox (display: flex)
Grid (display: grid)
Block (display: block)
Inline (display: inline)
What unit makes text responsive to the viewport width?
vw (viewport width unit)
em (relative to font-size of element)
px (pixels)
rem (root element font-size)
Which framework is maintained by Facebook?
React
Angular
Vue.js
Ember.js
Which language is used to style React components?
CSS
CSS-in-JS
Python
HTML
XML
Which command creates a new React app?
npx create-react
npm install react-app myApp
react new myApp
create-react myApp
react-app myApp
Which framework uses TypeScript by default?
Angular
React
Vue.js
Svelte
NestJS
Which of the following is a CSS framework?
Bootstrap
React
Node.js
MongoDB
Tailwind CSS
What is the purpose of cookies?
To store user data and preferences in the browser
To increase the speed of the internet connection
To protect the computer from viruses
To display advertisements on websites
To remember login sessions in browser
What does API stand for?
Application Programming Interface
Advanced Programming Instruction
Automated Process Integration
Applied Protocol Interface
A set of functions that allow software interaction
What does SEO stand for?
Search Engine Optimization
Social Engagement Optimization
Software Engineering Operations
Search Engine Operation
Which of the following ensures secure data transmission?
HTTPS
HTTP
FTP
Telnet
Which HTTP method is used to submit form data?
POST
GET
PUT
DELETE
What does JSON stand for?
JavaScript Object Notation
Java Source Object Notation
JavaScript Oriented Notation
Java Serialized Object Notation
Which HTML5 element is semantic?
<article>
<div>
<span>
<bold>
Which tool is used to manage JavaScript packages?
npm (Node Package Manager)
Git
Python pip
Composer
Which file type is used for cascading style sheets?
.css
.js
.html
.xml
Which attribute is used to open a link in a new tab?
target="_blank"
href="_blank"
newtab="true"
open="new"
Which database is NoSQL?
MongoDB
MySQL
Oracle
PostgreSQL
What does CDN stand for?
Content Delivery Network
Central Data Node
Computer Device Network
Content Data Notation
Which HTTP response code means “Not Found”?
404
200
500
301
Which file type usually contains website metadata?
.html (inside
tag).jpg (image file)
.mp3 (audio file)
.exe (executable file)
What is the main purpose of a web browser?
To retrieve, interpret, and display web content
To create and edit documents
To manage computer hardware resources
To compile programming code
Which of the following best describes a client–server model?
The client requests resources, and the server provides them
The server requests resources, and the client provides them
Both client and server request resources from each other simultaneously
Clients and servers operate independently without any communication
What is a web server responsible for?
Hosting and delivering web content to clients
Managing database transactions
Designing user interfaces
Compiling programming code
Which of the following is the main function of the URL?
To specify the address of a web resource
To display images on a webpage
To encrypt website data
To manage user accounts
What is the function of a web framework?
To simplify web development by providing tools and structure
To design computer hardware components
To manage operating system processes
To create mobile applications only
What does “responsive design” mean?
A design that adapts to different screen sizes and devices
A design that only works on desktop computers
A design that ignores user input
A design that uses only fixed-width layouts
What is the main difference between static and dynamic websites?
Static sites show fixed content; dynamic sites generate content in real time
Static sites are always interactive; dynamic sites are not
Dynamic sites cannot display images; static sites can
Static sites require a database; dynamic sites do not
What is the function of a database in web development?
To store, organize, and retrieve data
To design the user interface of a website
To create animations for web pages
To manage website hosting services
Which of the following defines “front-end development”?
Development of the user interface and user experience
Designing server-side logic and database management
Managing network infrastructure and security protocols
Writing automated test scripts for backend services
Which of the following are examples of server-side technologies?
Node.js, PHP, Python (Django/Flask), Ruby on Rails, ASP.NET
HTML, CSS, JavaScript (Vanilla)
React, Angular, Vue.js
Bootstrap, Tailwind CSS, Materialize
Which two of the following describe RESTful APIs?
They are stateless and resource-based.
They require a persistent connection.
They use SOAP for communication.
They are always stateful.
Which of the following statements about HTTPS are correct?
HTTPS encrypts data and ensures secure communication using SSL/TLS.
HTTPS is a protocol used only for sending emails.
HTTPS does not provide any encryption for data transmission.
HTTPS is less secure than HTTP.
Which two of the following are key principles of responsive web design?
Fluid grids and flexible images.
Fixed-width layouts and static images.
Single column layouts only.
Non-scalable fonts and absolute positioning.
Which of the following statements about cookies and sessions are correct?
Cookies store small data on the client side; sessions store data on the server side.
Cookies store data on the server side; sessions store data on the client side.
Both cookies and sessions store data only on the client side.
Cookies and sessions are both used only for storing passwords.
Which two of the following are considered best practices for web accessibility (WCAG)?
Provide alt text for images and use proper heading structure.
Use images without descriptions and avoid headings.
Rely solely on color to convey information.
Disable keyboard navigation for users.
Which two of the following statements about Single Page Applications (SPA) are true?
SPAs load a single HTML page and update content dynamically; they often use client-side routing.
SPAs require a full page reload for every user interaction.
SPAs do not use JavaScript for rendering content.
SPAs cannot use client-side routing at all.
Which two of the following are advantages of using Content Delivery Networks (CDNs)?
Faster content delivery and reduced server load.
Increased server downtime and higher latency.
Limited scalability and slower content distribution.
Decreased security and unreliable data transfer.
Which of the following statements about API authentication are correct?
OAuth allows secure access without sharing passwords; API keys or tokens are used for verification.
OAuth requires sharing passwords with third-party apps; API keys are never used for authentication.
API authentication never uses tokens; only passwords are valid.
OAuth is only used for email authentication; API keys are obsolete.
Which two of the following are common security vulnerabilities in web development?
Cross-Site Scripting (XSS) and SQL Injection.
Responsive Web Design and CSS Animations.
RESTful APIs and JSON Parsing.
Bootstrap and Material UI.
Select the characteristics of RESTful architecture from the following options:
Stateless communication
Tightly coupled components
Requires XML for data transfer
Single-layered architecture
The following technologies are commonly used in serverless computing:
AWS Lambda, Azure Functions, Google Cloud Functions
Apache Hadoop, Spark, MapReduce
MySQL, PostgreSQL, Oracle DB
Docker, Kubernetes, OpenShift
Select the examples of web application security threats from the following options.
SQL injection, Cross-site scripting, and CSRF
Responsive web design and SEO optimization
Cloud storage and CDN usage
User interface customization and analytics tracking
The protocols typically used in secure web communications are:
HTTP and FTP
SMTP and POP3
SSL/TLS and HTTPS
IMAP and SNMP
Select the essential principles of RESTful API design from the following options.
Statelessness, client-server architecture, cacheability, uniform interface
Stateful communication, tight coupling, no caching, proprietary protocols
Monolithic architecture, session persistence, custom interfaces, synchronous only
Single endpoint, no resource identification, no HTTP methods, encrypted only
Select the tools that are commonly used in Continuous Integration / Continuous Deployment (CI/CD).
Jenkins
Microsoft Word
Photoshop
Eclipse
The following are features of Progressive Web Applications (PWAs):
Offline support, push notifications, and home screen installation
Require native app store download
Only work on desktop browsers
Lack support for service workers
Select the benefits of microservices architecture from the following options:
Improved scalability and flexibility
Monolithic codebase
Single point of failure
Difficult to deploy independently
Key functions of HTTP headers include:
Transmitting metadata between client and server
Encrypting all web traffic by default
Storing website cookies permanently
Rendering web page content
Core benefits of containerization (e.g., Docker) include:
Portability and consistency across environments
Increased hardware requirements
Reduced application security
Slower deployment times
