MCQ
MCQ
8. 3. In MS Word, which section of the Ribbon allows you to insert headers and footers?
A. Insert
B. Page Layout
C. References
D. Review
Answer: A. Insert
9. 4. Which of the following file formats is used to save a document with macros in MS Word?
A. .docx
B. .dotx
C. .docm
D. .pdf
Answer: C. .docm
10. How can you split a table in MS Word?
A. Press Alt + Enter
B. Use the "Split Table" option in the Layout tab
C. Press Ctrl + Shift + Enter
D. Use the Table Tools > Design tab
Answer: B. Use the "Split Table" option in the Layout tab
15.10. Which feature in MS Word allows you to combine multiple shapes, images, or text into
one object?
A. Align
B. Group
C. Merge Shapes
D. Arrange
Answer: B. Group
17.In MS Word, how can you ensure that two paragraphs are kept on the same page?
A. Apply "Keep with next"
B. Enable "Widow/Orphan Control"
C. Use "Paragraph Grouping"
D. Apply "No Break"
Answer: A. Apply "Keep with next"
18.How can you apply a pre-designed formatting style to a paragraph in MS Word?
A. Select the paragraph and choose from the Font group
B. Use the "Styles" gallery in the Home tab
C. Apply formatting manually using the Toolbar
D. Copy formatting from another paragraph
Answer: B. Use the "Styles" gallery in the Home tab
Question Correct
Question Options Explanation
No. Answer
What is the default file .docx is the default file
extension of a Word a) .doc b) .docx c) .txt extension in MS Word 2007
1 b) .docx
document in Word 2007 and d) .pdf and later versions. .doc was
later? used in older versions.
Which shortcut key is used to a) Ctrl + S b) Ctrl + W c)
2 a) Ctrl + S Ctrl + S saves the document.
save a Word document? Ctrl + V d) Ctrl + O
What is the function of the a) Saves the document b)
b) Makes text Ctrl + B applies bold
3 Ctrl + B shortcut in MS Makes text bold c) Copies
bold formatting to the selected text.
Word? text d) Undoes changes
Which tab in MS Word is The Layout tab contains
a) Insert b) Home c)
4 used for setting page c) Layout options to adjust page margins,
Layout d) References
margins? orientation, and size.
What is the keyboard shortcut
a) Ctrl + Z b) Ctrl + Y c) Ctrl + Z undoes the last action
5 for undoing the last action in a) Ctrl + Z
Ctrl + X d) Ctrl + U performed.
MS Word?
In MS Word, what is the The default font size in modern
6 default font size in a new a) 10 b) 12 c) 14 d) 11 d) 11 MS Word versions is 11, using
document? the Calibri font.
Which feature allows you to Mail Merge is used to generate
combine a main document a) Table b) Mail Merge c) personalized letters, labels, or
7 b) Mail Merge
with a data source for mass Macro d) Bookmark emails by combining a
communication? document with a data source.
a) Searches and formats The Find and Replace tool is
What is the purpose of the b) Locates and
text b) Locates and used to quickly search for
8 Find and Replace feature in replaces
replaces specific text c) specific text and replace it with
MS Word? specific text
Copies text another string.
a) Makes text bold b)
What does the Ctrl + U b) Underlines Ctrl + U applies underline
9 Underlines text c) Copies
shortcut do in MS Word? text formatting to selected text.
text d) Opens a file
Which feature allows you to a) Index b) Mail Merge c) The Table of Contents feature
c) Table of
10 create a Table of Contents Table of Contents d) can generate an outline based
Contents
automatically in Word? Hyperlink on document headings.
a) Ctrl + Enter b) Ctrl +
How can you insert a page Ctrl + Enter inserts a page
11 Shift c) Ctrl + P d) Alt + a) Ctrl + Enter
break in MS Word? break at the cursor's position.
Shift
12 Which tab contains the option a) Home b) Insert c) b) Insert The Insert tab allows you to
Question Correct
Question Options Explanation
No. Answer
to add headers and footers in add headers, footers, page
Layout d) View
MS Word? numbers, and other elements.
a) Tracks edits made to The Track Changes feature
What does the Track a) Tracks edits
the document b) Saves the marks all changes (insertions,
13 Changes feature in MS Word made to the
document automatically deletions, formatting) made to a
do? document
c) Highlights text document for review.
The Ribbon is the toolbar at the
a) Displays shortcuts b)
b) Provides top of the Word interface that
What is the purpose of the Provides tabs with tools
14 tabs with tools contains tabs like Home, Insert,
Ribbon in MS Word? and options c) Saves
and options and Layout with grouped
documents
commands.
a) Prints the document b)
What is the use of the Ctrl + a) Prints the Ctrl + P opens the print dialog
15 Opens the Print Preview
P shortcut in MS Word? document for printing the document.
c) Copies text
1. Shortcuts
o Learn frequently used keyboard shortcuts like Ctrl + S, Ctrl + Z, Ctrl + P, etc.
o Formatting shortcuts: Ctrl + B (Bold), Ctrl + I (Italic), Ctrl + U (Underline).
2. Features and Tools
o Mail Merge: Combines a letter template with a list of recipients for personalized communication.
o Page Layout Options: Margins, orientation, and page size.
o Headers/Footers: Used for adding repetitive content like page numbers or titles.
3. Navigation and Editing
o Find and Replace: Quickly locate and edit text.
o Track Changes: Review and manage edits.
4. Formatting Options
o Paragraph alignment, line spacing, indentation.
o Using bullets and numbering.
Question
Question Options Correct Answer Explanation
No.
In MS Excel, what does a) Redo b) Undo c) Cut Ctrl + Z undoes the last action
12 b) Undo
Ctrl + Z do? d) Copy performed in Excel.
a) Adds numbers b)
What does a formula The =CONCATENATE() function
Joins text strings c)
13 beginning with b) Joins text strings combines multiple text strings
Counts cells d) Formats
=CONCATENATE() do? into one.
text
a) Sorts data b)
b) Automatically AutoFill helps extend a series
What does the AutoFill Automatically fills cells
15 fills cells based on a (e.g., dates, numbers) into
feature in Excel do? based on a pattern c)
pattern adjacent cells.
Filters data
MS PowerPoint PYQs and Answers
Question
Question Options Correct Answer Explanation
No.
What is the default file .pptx is the default file
extension for PowerPoint a) .ppt b) .pptx c) .pps extension in PowerPoint 2007
1 b) .pptx
presentations in PowerPoint d) .pdf and later versions. .ppt was
2007 and later? used in older versions.
Pressing F5 starts the slideshow
Which key is used to start a
a) F5 b) Shift + F5 c) F7 from the beginning. Shift +
2 slideshow from the a) F5
d) Alt + F5 F5 starts it from the current
beginning in PowerPoint?
slide.
Which feature allows you to Slide Master is used to create
a) Slide Sorter b) Slide
apply a consistent look to all and manage templates for
3 Master c) Animation b) Slide Master
slides in a PowerPoint consistent formatting across
Pane d) Format Painter
presentation? slides.
a) Inserts a new slide b)
What is the function of the
Opens the Slide Master a) Inserts a new Ctrl + M adds a new slide to
4 Ctrl + M shortcut in
c) Creates a new slide the presentation.
PowerPoint?
presentation
The Slide Sorter View displays
Which view is used for a) Normal View b) Slide
b) Slide Sorter all slides as thumbnails,
5 rearranging slides in Sorter View c) Outline
View allowing you to rearrange them
PowerPoint? View d) Reading View
easily.
How can you insert a Ctrl + K opens the Insert
a) Ctrl + H b) Ctrl + K c)
6 hyperlink in a PowerPoint b) Ctrl + K Hyperlink dialog to add links to
Ctrl + L d) Ctrl + J
slide? slides, websites, or files.
Which feature is used to add a) Animation b) Animations are used to add
7 movement effects to objects Transition c) Format a) Animation movement effects to text,
in PowerPoint? Painter d) Slide Master images, or objects on a slide.
a) Creates animations b) Slide Transitions provide
What is the purpose of the
Changes slide layout c) c) Adds effects visual effects when moving
8 Slide Transition feature in
Adds effects between between slides from one slide to the next
PowerPoint?
slides during a presentation.
a) Slide Sorter View b)
Which PowerPoint view is The Notes Page View is used
Normal View c) Outline d) Notes Page
9 used for editing speaker to edit and view speaker notes
View d) Notes Page View
notes? for each slide.
View
Ctrl + D duplicates the
How can you duplicate a a) Ctrl + D b) Ctrl + C c)
10 a) Ctrl + D selected slide or object in
selected slide in PowerPoint? Ctrl + V d) Ctrl + Z
PowerPoint.
Rehearse Timings helps
What is the use of the a) Set timings for slide b) Practice
presenters practice and set
11 Rehearse Timings feature in transitions b) Practice slideshow
timings for each slide based on
PowerPoint? slideshow timings timings
their presentation speed.
Which tab in PowerPoint The Insert tab provides options
allows you to insert charts, a) Insert b) Design c) to add various elements like
12 a) Insert
pictures, and tables into a View d) Home images, charts, and tables to a
slide? slide.
a) Copies text b) Copies Format Painter copies the
What does the Format
formatting c) Copies b) Copies formatting of text or objects and
13 Painter tool do in
animations d) Copies formatting applies it to another object or
PowerPoint?
slides text.
14 What is the purpose of the a) Edits slides b) b) Reviews Reading View shows the
Reading View in Reviews slideshow like slideshow like presentation in a full window
Question
Question Options Correct Answer Explanation
No.
viewers will see c) without entering the slideshow
PowerPoint? viewers will see
Rearranges slides mode.
Which key combination is Pressing Esc ends the
a) Esc b) Ctrl + W c)
15 used to end a slideshow in a) Esc slideshow and returns to the
Shift + F5 d) Alt + End
PowerPoint? editing view.
1. Keyboard Shortcuts
o F5: Start slideshow from the beginning.
o Shift + F5: Start slideshow from the current slide.
o Ctrl + M: Insert a new slide.
o Ctrl + D: Duplicate a slide or object.
2. Features and Functions
o Slide Master: Used for consistent slide design.
o Animations and Transitions: Adding movement effects to slides and objects.
o Rehearse Timings: Practice timing for presentations.
3. Views in PowerPoint
o Normal View: Default view for creating slides.
o Slide Sorter View: Rearrange slides as thumbnails.
o Notes Page View: Add speaker notes.
o Reading View: Review slides without full slideshow mode.
4. Insert Options
o Adding hyperlinks, charts, pictures, and tables.
o Using the Insert Tab for multimedia elements.
Question
Question Options Correct Answer Explanation
No.
a) Database Managed Storage
b) Database Management A DBMS is software used
What does DBMS b) Database
1 System c) Data Backup to store, retrieve, and
stand for? Management System
Management System d) None manage data in databases.
of these
Modular is not a database
Which of the type. Common database
a) Hierarchical b) Network c)
2 following is not a d) Modular models are hierarchical,
Distributed d) Modular
type of database? network, relational, and
distributed.
Oracle, MySQL, and SQL
Which of the Server are examples of
a) MS Word b) MS Excel c)
3 following is an c) Oracle DBMS software. MS Excel
Oracle d) Adobe Photoshop
example of a DBMS? is a spreadsheet
application.
The primary key is a
a) A field that uniquely a) A field that
What is the primary unique identifier for each
4 identifies a record b) A field uniquely identifies a
key in a database? record in a table, ensuring
that stores all data record
no duplicate entries.
5 Which language is a) HTML b) CSS c) SQL d) c) SQL SQL (Structured Query
used to interact with a Java Language) is used to
Question
Question Options Correct Answer Explanation
No.
interact with and manage
database?
data in a database.
Normalization structures a
a) Process of denormalizing b) Process of
What is normalization database efficiently to
6 data b) Process of organizing organizing data to
in DBMS? minimize data redundancy
data to reduce redundancy reduce redundancy
and dependency.
Which SQL DROP TABLE table_name;
a) DROP TABLE b) DELETE removes the table and its
command is used to
7 TABLE c) REMOVE TABLE a) DROP TABLE structure from the
remove a table from a
d) CLEAR TABLE database.
database?
What does the a) Atomicity, Consistency, a) Atomicity, ACID properties ensure
8 acronym ACID stand Isolation, Durability b) Access, Consistency, reliable transactions in a
for in DBMS? Control, Integrity, Data Isolation, Durability database.
A foreign key in one table
Which key
a) Primary Key b) Foreign Key links to the primary key of
establishes a
9 c) Candidate Key d) Composite b) Foreign Key another table, establishing
relationship between
Key a relationship between
two tables?
them.
a) Combines rows from two
What is the purpose JOIN combines data from
tables b) Deletes rows from a a) Combines rows
10 of the JOIN two or more tables based
table c) Updates rows d) from two tables
operation in SQL? on a related column.
Selects all rows
Object-oriented
Which type of a) Relational database b)
databases handle
database is best suited Object-oriented database c) b) Object-oriented
11 multimedia data like
for storing Flat-file database d) database
images, audio, and video
multimedia data? Hierarchical database
more effectively.
In an Entity-Relationship
In an ER model, what (ER) diagram, rectangles
a) Entity b) Attribute c)
12 does a rectangle a) Entity represent entities (e.g.,
Relationship d) Primary key
represent? objects, persons, or
concepts).
The SELECT statement is
Which SQL statement
a) SELECT b) INSERT c) used to retrieve data from
13 is used to retrieve a) SELECT
UPDATE d) DELETE one or more tables in a
data from a database?
database.
A tuple refers to a single
What is a tuple in a a) A column b) A row c) A
14 b) A row row in a table, containing
relational database? table d) A key
data for one record.
a) DELETE removes all rows,
b) DELETE removes
What is the difference TRUNCATE deletes table DELETE removes selected
specific rows,
between DELETE structure b) DELETE removes rows, while TRUNCATE
15 TRUNCATE removes
and TRUNCATE specific rows, TRUNCATE clears all rows but retains
all rows but keeps
commands in SQL? removes all rows but keeps the table structure.
structure
structure
1. DBMS Basics
o Definition, advantages, and examples of DBMS software (e.g., MySQL, Oracle, SQL Server).
o Database types: Hierarchical, Relational, Object-oriented, Distributed.
2. SQL Commands
o Common commands: SELECT, INSERT, UPDATE, DELETE, DROP, TRUNCATE.
o Joins: INNER JOIN, LEFT JOIN, RIGHT JOIN, FULL JOIN.
o Keys: Primary key, Foreign key, Candidate key.
3. Database Design
o ER Model components: Entities, Attributes, Relationships.
o Normalization and its types (1NF, 2NF, 3NF).
o ACID properties: Atomicity, Consistency, Isolation, Durability.
4. Transactions and Data Integrity
o Transaction management.
o Referential integrity using keys.
5. Advanced DBMS Topics
o Indexing and its types.
o NoSQL databases for big data (e.g., MongoDB, Cassandra).
Question Correct
Question Options Explanation
No. Answer
a) Hypertext Markup
Language b) Hyperlink
a) Hypertext HTML is the standard language for
What does HTML Markup Language c) Home
1 Markup creating web pages and web
stand for? Tool Markup Language d)
Language applications.
Hypertext Transfer
Language
Which tag is used to The <a> (anchor) tag is used to define
a) <link> b) <a> c) <href>
2 create a hyperlink in b) <a> hyperlinks. Example: <a
d) <url>
HTML? href="url">Text</a>.
What is the correct a) /* Comment */ b) //
c) <!-- Comments in HTML are written as
3 syntax for an HTML Comment c) <!-- Comment Comment --> <!-- This is a comment -->.
comment? --> d) # Comment
Which CSS property
a) background-color b) The background-color property is
is used to change the a) background-
4 color c) bg-color d) used to set the background color of an
background color of color
background element.
an element?
a) Cascading Style Sheets
CSS is used for describing the
What is the full form b) Creative Style Sheets c) a) Cascading
5 presentation of a document written in
of CSS? Colorful Style Sheets d) Style Sheets
HTML or XML.
Computer Style Sheets
The <img> tag is used to embed an
Which tag is used to
a) <image> b) <img> c) image in a web page. Example: <img
6 add an image in b) <img>
<picture> d) <photo> src="image.jpg"
HTML? alt="description">.
a) Sets the title of the page
What does the The <title> tag defines the title
b) Displays the heading c) a) Sets the title
7 <title> tag in shown in the browser tab and search
Adds a subtitle d) Defines a of the page
HTML do? engine results.
section
Which of the
HTML does not have an input type
following is NOT a a) text b) button c) number
8 d) colorpicker called colorpicker. The correct type
valid input type in d) colorpicker
is color.
HTML forms?
a) Contains the main
What is the purpose
content b) Contains The <head> section includes metadata,
of the <head> b) Contains
9 metadata c) Displays the such as <meta>, <title>, and links to
section in an HTML metadata
page title d) Adds CSS or JavaScript files.
document?
navigation links
Question Correct
Question Options Explanation
No. Answer
Which CSS property The font-size property is used to
a) font-style b) text-size c)
10 controls the text c) font-size define the size of text. Example: font-
font-size d) size
size? size: 16px;.
Which HTML The style attribute is used for inline
a) css b) style c) font d)
11 attribute is used to b) style CSS. Example: <p style="color:
inline
define inline styles? red;">Text</p>.
What is the purpose a) Define structure b) Add JavaScript is a scripting language used
b) Add
12 of JavaScript in web interactivity c) Style web to add interactivity and dynamic
interactivity
design? pages d) Store data behavior to web pages.
Which tag is used to The <table> tag is used to create
a) <table> b) <tbl> c)
13 create a table in a) <table> tables in HTML. Rows are defined
<tr> d) <td>
HTML? using <tr>, and cells using <td>.
The <meta> tag provides metadata
What does the a) Adds styles b) Embeds
c) Provides about the document, such as character
14 <meta> tag in multimedia c) Provides
metadata encoding, viewport settings, and SEO
HTML do? metadata d) Adds links
information.
Which of the The <link> tag is used to link an
following is used to external CSS file to an HTML
a) <link> b) <style> c)
15 apply external styles a) <link> document. Example: <link
<css> d) <script>
to an HTML rel="stylesheet"
document? href="styles.css">.
1. HTML Basics
o Structure of an HTML document: <html>, <head>, <body>.
o Tags: <a>, <img>, <table>, <form>, <div>, <span>.
o Attributes: href, src, alt, id, class.
2. CSS Basics
o Types: Inline, Internal, External.
o Properties: color, background-color, font-size, margin, padding, border.
o Selectors: Element, Class, ID.
3. JavaScript Basics
o Adding interactivity to web pages.
o Common uses: Form validation, event handling, DOM manipulation.
4. Responsive Web Design
o Use of media queries in CSS.
o Importance of the <meta name="viewport"> tag.
5. Web Technologies
o Differences between HTML, CSS, and JavaScript.
o Basics of frameworks like Bootstrap for responsive design.
6. Forms and Inputs
o Input types: text, number, radio, checkbox, submit, email.
o Validation using JavaScript.
Question
Question Options Correct Answer Explanation
No.
1 What does OOP stand a) Object-Oriented Programming a) Object- OOP is a programming paradigm
for? b) Object-Oriented Process c) Oriented that uses objects and classes to
Question
Question Options Correct Answer Explanation
No.
Which keyword is used to a) class b) struct c) define d) The class keyword is used to
5 a) class
define a class in C++? object define a class in C++.
14 Which operator is used in a) + b) & c) && d) @ b) & The & operator is used for string
VB.NET for concatenating concatenation in VB.NET. Example:
Question
Question Options Correct Answer Explanation
No.
1. Core Features
o Encapsulation: Hiding details of an object.
o Inheritance: Creating new classes from existing ones.
o Polymorphism: Using a single interface to represent different data types.
o Abstraction: Hiding implementation and showing only essential details.
C++ Basics
2. Key Topics
o Access specifiers: public, private, protected.
o Special functions: Constructors and Destructors.
o Operators: . (dot), :: (scope resolution).
VB.NET
1. Syntax
o Declaring variables: Dim variableName As DataType.
o Control structures: If-Else, For, While.
2. Key Concepts
o Me keyword: Refers to the current object.
o Event handling: Writing code for button clicks or other UI events.
o Namespaces: System, System.IO.
3. File Handling
o Reading and writing files using C++ and VB.NET.
Question
Question Options Correct Answer Explanation
No.
a) Central Processing Unit b)
The CPU is the brain of the
What does CPU stand Central Programming Unit c) a) Central
1 computer responsible for
for? Computer Processing Unit d) Processing Unit
executing instructions.
Central Processor Utility
Which device is used as Hard disks are primary storage
a) RAM b) ROM c) Hard
2 the main storage in c) Hard Disk devices for storing large
Disk d) Cache
computers? amounts of data permanently.
What is the smallest A bit is the smallest unit of
a) Bit b) Byte c) Nibble d)
3 unit of data in a a) Bit data in a computer and can
Word
computer? have a value of 0 or 1.
a) Uniform Resource Locator
What does URL stand b) Universal Resource
a) Uniform A URL is the address used to
4 for in internet Locator c) Uniform Redirect
Resource Locator access resources on the web.
terminology? Link d) Uniform Resource
Link
RAM is volatile memory,
Which of the following a) Hard Disk b) ROM c)
5 c) RAM meaning it loses its data when
is a volatile memory? RAM d) Flash Memory
the power is turned off.
The operating system handles
What is the function of a) Process Management b)
processes, memory, file
6 the operating system in Memory Management c) File d) All of these
systems, and provides an
a computer? System d) All of these
interface for user interaction.
OLED (Organic Light
Which technology is
a) LCD b) CRT c) LED d) Emitting Diodes) technology
7 used in modern d) OLED
OLED provides better contrast and
monitors for display?
energy efficiency in displays.
a) Connects devices within
the same network b) Routers are used to connect
What is the function of b) Connects
8 Connects multiple networks different networks and direct
a router in a network? multiple networks
c) Stores data packets d) data packets between them.
Encrypts data
a) Basic Input/Output System
b) Binary Input/Output a) Basic BIOS is firmware used to
What is the full form of
9 System c) Basic Internal Input/Output initialize hardware during
BIOS?
Output System d) Basic System booting.
Integrated Output System
What is the default
MS Word documents created
extension of a Word
10 a) .doc b) .docx c) .txt d) .rtf b) .docx in modern versions use the
document in modern
.docx extension.
MS Word versions?
a) Performing calculations b)
b) Acting as an
What is the primary Acting as an interface The operating system enables
interface between
11 function of an operating between hardware and interaction between hardware
hardware and
system? software c) Compiling code and application software.
software
d) Encrypting data
Question
Question Options Correct Answer Explanation
No.
A scanner is an input device
Which of the following a) Printer b) Monitor c)
12 c) Scanner that digitizes physical
is an input device? Scanner d) Speaker
documents and images.
Phishing is a cyberattack
a) A type of malware b) A
method where attackers trick
method of email fraud c) A b) A method of
13 What is phishing? users into providing sensitive
network protocol d) An email fraud
information through fraudulent
antivirus software
emails or websites.
a) To prevent overheating b)
What is the purpose of To filter incoming and b) To filter Firewalls enhance network
14 a firewall in computer outgoing traffic c) To incoming and security by filtering traffic
networks? increase network speed d) To outgoing traffic based on predefined rules.
perform backups
Which of the following Hard disks use magnetic
a) SSD b) Hard Disk c) DVD
15 storage devices uses b) Hard Disk storage to store data on
d) USB Drive
magnetic storage? spinning platters.
Linux is an operating system,
Which of these is not an a) MS Word b) Linux c) not application software.
16 example of application Google Chrome d) VLC b) Linux Application software includes
software? Media Player tools like MS Word and VLC
Media Player.
a) Computing done on
physical servers b) b) Computing Cloud computing allows users
What is cloud Computing done on remote done on remote to access computing resources
17
computing? servers via the internet c) servers via the like servers and storage over
Storing data locally d) Using internet the internet.
AI for computing
a) To identify a device on a
What is the primary network b) To encrypt data a) To identify a An IP address is a unique
18 purpose of an IP packets c) To establish device on a identifier for devices
address? connections d) To define network connected to a network.
network protocols
a) High-speed processing b) Supercomputers are designed
Which of the following
General-purpose use c) b) General- for specific tasks, such as
19 is not a characteristic of
Large-scale problem solving purpose use simulations, and are not meant
a supercomputer?
d) Expensive for general-purpose use.
a) Hypertext Transfer
Protocol b) High Text
HTTP is the protocol used for
What does HTTP stand Transfer Protocol c) a) Hypertext
20 transferring data on the World
for? Hyperlink Text Transfer Transfer Protocol
Wide Web.
Protocol d) Hyper Transfer
Protocol
Key Topics for Kerala PSC Computer Fundamentals and Informatics Exams
1. Basic Concepts
o Definitions: CPU, RAM, ROM, Motherboard, Hard Disk.
o Number systems: Binary, Octal, Hexadecimal.
2. Input/Output Devices
o Input: Keyboard, Mouse, Scanner, Microphone.
o Output: Monitors, Printers, Speakers.
3. Operating Systems
o Functions: Memory management, File systems, Process management.
o Examples: Windows, Linux, macOS.
4. Networks and Internet
o Devices: Modems, Routers, Switches.
o Protocols: HTTP, FTP, IP, DNS.
5. Storage Technologies
o Primary vs. Secondary memory.
o Magnetic (Hard Disks) vs. Optical (CD/DVD) vs. Solid State (SSD).
6. Cybersecurity
o Malware, Phishing, Ransomware.
o Firewalls, Encryption, Antivirus.
7. Trends in Computing
o Cloud Computing, AI, IoT, Quantum Computing.
Q9. What is the difference between inline, internal, and external CSS?
A:
What is Bootstrap?
A: Bootstrap is a CSS framework for building responsive and mobile-first websites.
What is the purpose of a Content Management System (CMS)?
A: A CMS like WordPress or Joomla allows users to create and manage website content without extensive
coding.
Static Website: Content is fixed and doesn't change without manual updates.
Dynamic Website: Content changes dynamically based on user interactions or server-side scripts.
Q4. What is the difference between procedural and object-oriented programming paradigms?
A:
cpp
Copy code
class Car {
public:
string brand;
void display() {
cout << "Car brand: " << brand << endl;
}
};
cpp
Copy code
Car myCar; // myCar is an object of the class Car
cpp
Copy code
class Student {
private:
int age;
public:
void setAge(int a) { age = a; }
int getAge() { return age; }
};
cpp
Copy code
class Shape {
public:
virtual void draw() = 0; // Pure virtual function
};
class Circle : public Shape {
public:
void draw() { cout << "Drawing Circle"; }
};
cpp
Copy code
class Engine {
public:
void start() { cout << "Engine starts"; }
};
class Car {
Engine engine; // Delegation
public:
void startCar() { engine.start(); }
};
Example:
cpp
Copy code
#include <iostream>
using namespace std;
class HelloWorld {
public:
void sayHello() { cout << "Hello, World!"; }
};
int main() {
HelloWorld obj;
obj.sayHello();
return 0;
}
Q15. How do you create a source file, compile, and link a C++ program?
A:
1. Create source file: Write code in a text editor and save with .cpp extension.
2. Compile: Use a compiler (e.g., g++) to convert code to machine language:
bash
Copy code
g++ program.cpp -o program
bash
Copy code
./program
6. Miscellaneous
cpp
Copy code
class Demo {
public:
Demo() { cout << "Constructor called"; }
~Demo() { cout << "Destructor called"; }
};