COPA MCQ
COPA MCQ
Scope of COPA Trade 10. What does a yellow triangular safety sign with a
black symbol indicate?
1. What does COPA stand for? A) Mandatory actions B) Warning or caution
A) Computer Operations & Peripheral Applications C) Fire extinguisher location D) Emergency exit
B) Computer Operator & Programming Assistant
C) Centralized Online Programming Automation Types and Working of Fire Extinguishers
D) Computer Optimization & Process Automation
11. Which type of fire extinguisher is used for
2. What is the primary focus of the COPA trade? electrical fires?
A) Carpentry and welding A) Type A B) Type B
B) Computer hardware repairing C) Type C D) Type D
C) Computer operation and basic programming
D) Advanced artificial intelligence development 12. What is the primary extinguishing agent in a CO₂
fire extinguisher?
3. Which of the following is NOT a role of a COPA A) Water B) Carbon dioxide
professional? C) Foam D) Dry powder
A) Data entry B) Software development
C) Network maintenance D) Civil engineering 13. What type of fire extinguisher should be used for
a paper or wood fire?
4. Which programming language is commonly taught A) Type A B) Type B
in the COPA course? C) Type C D) Type D
A) JavaScript B) Python
C) C++ D) All of the above 14. What is the PASS technique for using a fire
extinguisher?
5. What type of software is commonly used for word A) Push, Aim, Squeeze, Spray
processing in COPA training? B) Pull, Aim, Squeeze, Sweep
A) MS Word B) Adobe Photoshop C) Pump, Adjust, Squirt, Stop
C) AutoCAD D) Tally ERP D) Push, Adjust, Sweep, Shut
Safety Rules and Safety Signs 15. Which fire extinguisher is best for oil-based fires?
A) Water B) CO₂
6. What should you do before working on electrical C) Foam D) Wet Chemical
equipment?
A) Keep it plugged in B) Wear rubber gloves Introduction to Computer Components
C) Work with wet hands D) Touch all exposed wires
16. What is the full form of CPU?
7. What does a red safety sign usually indicate? A) Central Processing Unit
A) Caution B) Emergency or prohibition B) Computer Processing Utility
C) Information D) Mandatory action C) Central Power Unit
D) Core Processing Unit
8. What is the primary purpose of a first aid kit in the
workplace? 17. Which of the following is an input device?
A) To store medicines A) Monitor B) Printer
B) To provide immediate medical assistance C) Keyboard D) Speaker
C) To decorate the office
D) To keep extra bandages 18. What type of memory is RAM?
A) Permanent B) Volatile
9. What is the colour of a fire exit sign? C) External D) Optical
A) Red B) Blue
C) Green D) Yellow
19. What is the main function of an operating system? 29. Which port is used to connect a printer?
A) To manage hardware and software resources A) USB B) HDMI
B) To design web pages C) VGA D) Ethernet
C) To run antivirus scans
D) To print documents 30. What does GUI stand for?
A) General User Interface
20. Which is an example of system software? B) Graphical User Interface
A) MS Word B) Photoshop C) Global Uniform Interface
C) Windows OS D) VLC Media Player D) Graphic Utility Integration
27. What is the full form of HTTP? 6. What is the function of the motherboard?
A) Hyper Text Transfer Protocol A) Store data permanently
B) High Transfer Text Protocol B) Connect and allow communication between
C) Hyperlink Transfer Technology Protocol components
D) High Tech Text Processing C) Display video output
D) Manage software applications
28. What is the function of a modem?
A) Converts digital signals to analog and vice versa 7. Which component is responsible for processing all
B) Stores data permanently instructions in a computer?
C) Controls the CPU A) RAM B) Hard Drive
D) Improves computer speed C) CPU D) Power Supply
8. What does BIOS stand for? 17. What type of input device is a scanner?
A) Basic Input Output System A) Text input B) Image input
B) Binary Internet Operating System C) Audio input D) Storage device
C) Built-in Internal Operating Software
D) Basic Internal Output Source 18. What is the function of a mouse?
A) To display images
9. Which part of the motherboard holds the RAM B) To process data
modules? C) To move the cursor and select items
A) PCI Slot B) RAM Slot D) To store files
C) SATA Port D) CMOS Battery
19. Which of the following is an example of an output
10. What is the function of the chipset on a device?
motherboard? A) Keyboard B) Monitor
A) Controls data flow between CPU, memory, and C) Scanner D) Mouse
peripherals
B) Stores files permanently 20. What is the purpose of a microphone?
C) Increases internet speed A) To display output B) To record sound as input
D) Powers the computer C) To process data D) To store files
11. What is the purpose of the power supply unit 21. What does a projector do?
(PSU)? A) Captures video
A) To cool the computer B) Prints documents
B) To provide power to the computer components C) Displays content on a larger screen
C) To process data D) Stores digital files
D) To store operating system files 22. What kind of printer is commonly used for high-
12. Which of the following is the fastest type of quality photo printing?
memory? A) Inkjet Printer B) Dot Matrix Printer
A) RAM B) Cache Memory C) Laser Printer D) Thermal Printer
C) Hard Drive D) Flash Drive 23. What does a joystick do?
13. What is the main function of a CPU? A) Records voice input
A) To store data permanently B) Controls video game movement
B) To execute instructions and process data C) Prints text documents
C) To provide internet access D) Scans barcodes
D) To display graphics 24. What is the function of a barcode scanner?
14. Which company manufactures the Ryzen series of A) To scan human fingerprints
processors? B) To capture barcode data for processing
A) Intel B) AMD C) To print documents
C) NVIDIA D) Apple D) To type text on a screen
15. What does GHz (Gigahertz) measure in a CPU? 25. What type of touch screen technology detects the
A) Hard drive storage capacity B) Processor speed touch based on finger pressure?
C) RAM size D) Power consumption A) Capacitive B) Resistive
C) Infrared D) Optical
Various Input/Output Devices and Their Features
26. What does USB stand for?
16. Which of the following is an input device? A) Universal Serial Bus
A) Monitor B) Keyboard B) Unified System Board
C) Printer D) Speaker C) Unique Storage Backup
D) Universal Software Bridge
27. What is the full form of SSD? 7. Which operating system is commonly used in
A) System Software Drive B) Solid-State Drive mobile phones?
C) Software Storage Device D) Super Speed Disk A) Windows 10 B) Linux
C) Android D) MS-DOS
28. Which of the following is an example of volatile
memory? 8. Which type of OS is designed for real-time
A) Hard Disk B) RAM applications like robotics and air traffic control?
C) SSD D) Pen Drive A) Batch Processing OS B) Real-Time OS
C) Multi-user OS D) Time-Sharing OS
29. What is the function of a graphics card?
A) Enhances video output performance 9. What is the process of starting a computer called?
B) Stores operating system files A) Formatting B) Booting
C) Increases internet speed C) Defragmenting D) Partitioning
D) Protects against malware
10. Which of the following is an example of system
30. What type of port is commonly used to connect a software?
monitor to a computer? A) Google Chrome B) Windows 11
A) USB B) HDMI C) MS Excel D) Adobe Photoshop
C) RJ45 D) Audio Jack
Main Features of Windows OS
Introduction to Operating System
11. Which company developed Windows OS?
1. What is the primary function of an Operating A) Apple B) Google
System? C) Microsoft D) IBM
A) To increase the speed of the computer
B) To manage hardware and software resources 12. What is the default file system used in Windows
C) To connect to the internet 10 and Windows 11?
D) To perform calculations A) FAT32 B) NTFS
C) EXT4 D) HFS+
2. Which of the following is NOT an operating system?
A) Windows B) Linux 13. What is the name of the digital assistant
C) MS Word D) macOS introduced in Windows 10?
A) Siri B) Cortana
3. Which type of Operating System allows multiple C) Alexa D) Google Assistant
users to use the system at the same time?
A) Single-user OS B) Multi-user OS 14. Which Windows feature allows users to organize
C) Real-time OS D) Embedded OS open windows on virtual desktops?
A) Task View B) Windows Explorer
4. What is the core of an Operating System called? C) Control Panel D) System Restore
A) BIOS B) Kernel
C) Firmware D) Bootloader 15. Where can you change Windows settings like Wi-
Fi, Display, and Privacy?
5. Which of the following is an example of an open- A) Task Manager B) File Explorer
source operating system? C) Control Panel / Settings D) Recycle Bin
A) Windows 10 B) macOS
C) Linux D) MS-DOS 16. What is the default web browser in Windows 10
and Windows 11?
6. What does GUI stand for in an operating system? A) Internet Explorer B) Google Chrome
A) General User Instruction C) Microsoft Edge D) Mozilla Firefox
B) Graphical User Interface
C) Generated User Interaction 17. What is the function of the Windows Defender
D) Graphical Utility Integration program?
A) Playing media files
B) Protecting against viruses and malware C) Launches a new application
C) Managing installed applications D) Lists all files in File Explorer
D) Optimizing internet speed
27. What does "Ctrl + P" do?
18. Which feature helps restore a Windows computer A) Opens the Print dialog
to an earlier state? B) Pastes the copied content
A) Windows Backup B) Task Manager C) Plays a media file
C) System Restore D) File Explorer D) Opens the Properties window
19. What is the purpose of the "Task Manager" in 28. Which shortcut is used to open Task Manager
Windows? directly?
A) To manage installed programs A) Ctrl + Alt + Del B) Ctrl + Shift + Esc
B) To monitor system performance and close C) Windows + Shift + S D) Alt + F4
unresponsive apps
C) To delete system files 29. What is the function of "Windows + R"?
D) To open the command prompt A) Refreshes the screen B) Opens the Run dialog box
C) Rotates the screen D) Opens the Search bar
20. Where are deleted files stored before permanent
deletion? 30. What does the "F5" key do in a browser or
A) Task Manager B) Recycle Bin Windows Explorer?
C) Windows Explorer D) System Registry A) Saves a file B) Refreshes the page or window
C) Opens a new tab D) Closes the window
Concept of Various Shortcut Commands
Introduction to Various Types of Memory
21. What does the shortcut "Ctrl + C" do?
A) Cuts the selected text B) Copies the selected text 1. What type of memory is used as the main memory
C) Pastes the selected text D) Deletes the selected text of a computer?
A) ROM B) RAM
22. Which shortcut is used to undo the last action? C) Hard Drive D) Flash Memory
A) Ctrl + Y B) Ctrl + Z
C) Ctrl + X D) Ctrl + A 2. Which type of RAM is faster and used in CPU
cache?
23. What happens when you press "Alt + Tab"? A) DRAM B) SRAM
A) It opens Task Manager C) VRAM D) PROM
B) It switches between open applications
C) It minimizes all windows 3. What does "volatile memory" mean?
D) It opens the Start Menu A) Data is permanently stored
B) Data is lost when power is off
24. What does "Windows + D" do? C) Memory is used for storage only
A) Locks the computer D) Data is protected from corruption
B) Opens the Run dialog box
C) Shows the desktop 4. Which memory is used to store the BIOS (Basic
D) Opens File Explorer Input Output System)?
A) RAM B) ROM
25. Which shortcut key is used to open the Windows C) Cache Memory D) Virtual Memory
Settings?
A) Windows + R B) Windows + I 5. Which type of memory is used to expand RAM
C) Windows + S D) Ctrl + Alt + Del using a portion of the hard drive?
A) Cache Memory B) Virtual Memory
26. What is the function of "Windows + L"? C) Flash Memory D) Register Memory
A) Logs out the user
B) Locks the computer 6. What is the purpose of cache memory?
A) To store frequently accessed data for quick access
B) To store permanent files C) Too many antivirus programs installed
C) To act as a backup for RAM D) Using a high-speed processor
D) To increase hard drive space ✅ Answer: B) Presence of malware
7. Which of the following is NOT a type of secondary 14. If a keyboard stops responding, what is the first
memory? thing to check?
A) SSD B) HDD A) Update the BIOS
C) RAM D) DVD B) Check if it is properly connected
C) Replace the monitor
8. Which memory type is the fastest? D) Restart the printer
A) Hard Drive B) RAM ✅ Answer: B) Check if it is properly connected
C) Cache Memory D) USB Flash Drive
15. If a software application keeps crashing, what
9. Which memory type is used for long-term data should you try first?
storage? A) Uninstall and reinstall the software
A) RAM B) Format the entire system
B) Cache C) Replace the processor
C) ROM D) Remove the hard drive
D) Hard Drive ✅ Answer: A) Uninstall and reinstall the software
✅ Answer: D) Hard Drive
16. What does a "Blue Screen of Death (BSOD)"
10. What type of memory is typically used in USB indicate?
flash drives? A) Hardware or driver failure
A) SRAM B) Low battery
B) DRAM C) Keyboard malfunction
C) Flash Memory D) Internet disconnection
D) Cache Memory ✅ Answer: A) Hardware or driver failure
✅ Answer: C) Flash Memory
17. If a computer screen is flickering, what is the
2. Basic Hardware and Software Issues and Their possible cause?
Solutions A) Antivirus software issue
11. What is the first step when troubleshooting a B) Loose or faulty display cable
computer that won't turn on? C) Incorrect audio settings
A) Check if the power cable is connected D) Printer driver issue
B) Format the hard drive ✅ Answer: B) Loose or faulty display cable
C) Replace the motherboard 18. What should you do if your internet connection
D) Install new drivers suddenly stops working?
✅ Answer: A) Check if the power cable is connected A) Restart the router
12. If a computer is overheating, what should you do? B) Remove the CPU
A) Increase the processor speed C) Replace the RAM
B) Clean the cooling fan and apply thermal paste D) Change the operating system
C) Remove the power supply ✅ Answer: A) Restart the router
D) Disable the antivirus 19. If a hard drive makes a clicking sound, what does
✅ Answer: B) Clean the cooling fan and apply thermal it indicate?
paste A) Virus infection
13. What is the most likely cause of slow system B) Hard drive failure
performance? C) Loose power cable
A) Too much free RAM D) Incorrect BIOS settings
B) Presence of malware ✅ Answer: B) Hard drive failure
20. What should you do before installing new D) Disable Windows updates
software? ✅ Answer: B) Delete the infected file
A) Disconnect from the internet
B) Check system requirements 27. Which of the following is a multimedia
C) Delete all existing programs application?
D) Disable all security settings A) VLC Media Player
✅ Answer: B) Check system requirements B) Excel
C) Notepad
3. Usage of Application Software and Antivirus D) Task Manager
✅ Answer: A) VLC Media Player
21. Which of the following is an example of
application software? 28. Which of these antivirus programs is built into
A) Windows 10 Windows?
B) Microsoft Word A) Kaspersky
C) BIOS B) Norton
D) Device Drivers C) Windows Defender
✅ Answer: B) Microsoft Word D) Avast
✅ Answer: C) Windows Defender
22. What is the purpose of antivirus software?
A) To speed up the internet 29. Which software is used for word processing?
B) To protect the computer from malware A) Photoshop
C) To increase RAM speed B) MS Word
D) To edit text documents C) VLC Media Player
✅ Answer: B) To protect the computer from malware D) Google Chrome
✅ Answer: B) MS Word
23. Which of the following is NOT an application
software? 30. What is the function of a firewall in a computer
A) Photoshop system?
B) Chrome A) Protect against physical damage
C) MS Word B) Prevent unauthorized access to a network
D) RAM C) Improve battery performance
✅ Answer: D) RAM D) Increase hard disk speed
✅ Answer: B) Prevent unauthorized access to a
24. Which software allows users to browse the network
internet?
A) MS Paint 1. Introduction to Basic DOS Internal and External
B) Notepad Commands
C) Google Chrome
D) Windows Defender 1. What does DOS stand for?
✅ Answer: C) Google Chrome A) Disk Operating System
B) Digital Operating System
25. What is an example of an open-source antivirus? C) Data Output System
A) Norton D) Device Operating Software
B) Avast ✅ Answer: A) Disk Operating System
C) ClamAV
D) McAfee 2. Which of the following is an internal DOS
✅ Answer: C) ClamAV command?
A) CHKDSK
26. What should you do if an antivirus detects a virus? B) FORMAT
A) Ignore the warning C) COPY
B) Delete the infected file D) DIR
C) Uninstall the antivirus ✅ Answer: D) DIR
3. Which command is used to list all files and 10. Which command is used to view the content of a
directories in DOS? file in DOS?
A) LIST A) TYPE
B) SHOW B) VIEW
C) DIR C) OPEN
D) DISPLAY D) DISPLAY
✅ Answer: C) DIR ✅ Answer: A) TYPE
4. What is the function of the CLS command in DOS? 2. Introduction to Open Source Software
A) Clears the screen
B) Closes the program 11. What is Open Source Software?
C) Copies files A) Software with free source code access
D) Deletes files B) Software that is paid only
✅ Answer: A) Clears the screen C) Software that is only for a single user
D) Software that cannot be modified
5. Which DOS command is used to delete a directory? ✅ Answer: A) Software with free source code access
A) DELDIR
B) DELETE 12. Which of the following is an example of Open
C) RMDIR Source Software?
D) ERASE A) Microsoft Windows
✅ Answer: C) RMDIR B) Linux
C) Adobe Photoshop
6. Which command is used to change the current D) MacOS
directory in DOS? ✅ Answer: B) Linux
A) CHANGEDIR
B) CD 13. What does GPL stand for in open-source licensing?
C) DIR A) General Programming License
D) SWITCHDIR B) General Public License
✅ Answer: B) CD C) General Product License
D) GNU Public License
7. What is an example of an external DOS command? ✅ Answer: B) General Public License
A) COPY
B) DEL 14. Which of the following is NOT an open-source
C) FORMAT operating system?
D) CLS A) Ubuntu
✅ Answer: C) FORMAT B) Fedora
C) MacOS
8. Which command is used to create a new directory D) Debian
in DOS? ✅ Answer: C) MacOS
A) MKDIR
B) CREATEDIR 15. Which open-source web browser is widely used?
C) NEWDIR A) Internet Explorer
D) DIRCREATE B) Google Chrome
✅ Answer: A) MKDIR C) Mozilla Firefox
D) Safari
9. Which command is used to check the disk for errors ✅ Answer: C) Mozilla Firefox
in DOS?
A) CHKDSK 16. What is the advantage of open-source software?
B) SCANDISK A) It is usually free
C) FIXDISK B) Users can modify the source code
D) DISKCHECK C) It has community support
✅ Answer: A) CHKDSK
D) All of the above D) Linus Torvalds
✅ Answer: D) All of the above ✅ Answer: D) Linus Torvalds
17. Which open-source database management system 23. Which of the following is a Linux distribution?
is popular? A) Windows 10
A) Oracle B) Ubuntu
B) MySQL C) MacOS
C) MS SQL Server D) DOS
D) IBM DB2 ✅ Answer: B) Ubuntu
✅ Answer: B) MySQL
24. What type of file system does Linux commonly
18. Which of the following is an open-source office use?
suite? A) NTFS
A) MS Office B) FAT32
B) LibreOffice C) ext4
C) Google Docs D) HFS+
D) WPS Office ✅ Answer: C) ext4
✅ Answer: B) LibreOffice
25. What is the purpose of the Linux shell?
19. What is the difference between open-source and A) To manage hardware devices
proprietary software? B) To provide a command-line interface
A) Open-source software allows modification, C) To store files
proprietary does not D) To increase CPU speed
B) Proprietary software is always free ✅ Answer: B) To provide a command-line interface
C) Open-source software does not need installation
D) Proprietary software is always developed by 4. Basic Linux Commands
individuals 26. Which Linux command is used to list files in a
✅ Answer: A) Open-source software allows directory?
modification, proprietary does not A) dir
20. What is the most widely used open-source web B) ls
server? C) list
A) Apache D) show
B) IIS ✅ Answer: B) ls
C) Tomcat 27. Which command is used to create a new directory
D) XAMPP in Linux?
✅ Answer: A) Apache A) makedir
3. Introduction to Linux Operating System B) mkdir
C) newdir
21. What is the Linux kernel? D) cd
A) The command-line interface ✅ Answer: B) mkdir
B) The core of the Linux operating system
C) A text editor in Linux 28. Which command is used to move files in Linux?
D) A file system A) move
✅ Answer: B) The core of the Linux operating system B) mv
C) transfer
22. Which company created Linux? D) copy
A) Microsoft ✅ Answer: B) mv
B) Apple
C) IBM 29. What command is used to display the current
working directory in Linux?
A) pwd 2. Introduction to Word Features, Office Button,
B) loc Toolbars
C) dir
D) cd 6. Which tab contains the "Save" and "Open"
✅ Answer: A) pwd commands in MS Word?
A) Home
30. What is the command to delete a file in Linux? B) Insert
A) remove C) Office Button (File Tab in newer versions)
B) del D) View
C) rm ✅ Answer: C) Office Button (File Tab in newer
D) erase versions)
✅ Answer: C) rm
7. What is the function of the "Home" tab in MS
1. Introduction to Various Applications in MS Office Word?
A) Insert tables and images
1. Which of the following is NOT part of MS Office? B) Format text and paragraphs
A) MS Word C) Perform mail merge
B) MS Excel D) Change document views
C) MS Paint ✅ Answer: B) Format text and paragraphs
D) MS PowerPoint
✅ Answer: C) MS Paint 8. The Office Button in MS Word 2007 allows you to:
A) Apply page borders
2. What is the primary function of MS Word? B) Open, Save, Print, and Manage Word documents
A) Creating and editing text documents C) Insert headers and footers
B) Managing databases D) Add animations
C) Making presentations ✅ Answer: B) Open, Save, Print, and Manage Word
D) Performing calculations documents
✅ Answer: A) Creating and editing text documents
9. Which toolbar allows you to quickly access
3. Which MS Office application is mainly used for common commands like Save, Undo, and Redo?
creating spreadsheets? A) Ribbon
A) MS Word B) Quick Access Toolbar
B) MS Excel C) Status Bar
C) MS PowerPoint D) Navigation Pane
D) MS Access ✅ Answer: B) Quick Access Toolbar
✅ Answer: B) MS Excel
10. Which tab contains the "Find and Replace"
4. MS PowerPoint is used for: command?
A) Word processing A) Insert
B) Spreadsheet calculations B) Layout
C) Creating presentations C) Home
D) Database management D) View
✅ Answer: C) Creating presentations ✅ Answer: C) Home
5. Which MS Office application is used for managing 3. Creating, Saving, Formatting, and Printing
databases? Documents Using Word
A) MS Word
B) MS PowerPoint 11. Which shortcut key is used to save a document in
C) MS Access MS Word?
D) MS Outlook A) Ctrl + S
✅ Answer: C) MS Access B) Ctrl + C
C) Ctrl + V
D) Ctrl + P D) References
✅ Answer: A) Ctrl + S ✅ Answer: A) Insert
12. The default file format of MS Word 2010 is: 18. What is the function of Mail Merge?
A) .txt A) To create multiple personalized documents
B) .doc B) To merge two Word documents
C) .docx C) To send emails
D) .pdf D) To copy formatting
✅ Answer: C) .docx ✅ Answer: A) To create multiple personalized
documents
13. Which of the following is NOT a valid way to
format text in MS Word? 19. What is the shortcut key to start a Mail Merge?
A) Changing font size A) Ctrl + M
B) Adding tables B) Alt + Shift + M
C) Applying bold, italic, or underline C) Ctrl + Shift + N
D) Changing text color D) Alt + Shift + N
✅ Answer: B) Adding tables ✅ Answer: D) Alt + Shift + N
14. What is the shortcut key for printing a document 20. In Mail Merge, the data source can be:
in MS Word? A) An Excel spreadsheet
A) Ctrl + S B) A Word table
B) Ctrl + P C) An Access database
C) Ctrl + C D) All of the above
D) Ctrl + X ✅ Answer: D) All of the above
✅ Answer: B) Ctrl + P
21. Which tab contains the Mail Merge options?
15. To apply double line spacing to a document, which A) Insert
option should you use? B) Home
A) Font C) Mailings
B) Paragraph D) References
C) Page Layout ✅ Answer: C) Mailings
D) View
✅ Answer: B) Paragraph 22. A macro in MS Word is used to:
A) Automate repetitive tasks
4. Working with Objects, Macro, Mail Merge, B) Resize images
Templates, and Other Tools in Word C) Format text
D) Insert tables
16. Which feature is used to automatically insert pre- ✅ Answer: A) Automate repetitive tasks
designed text or images?
A) Bookmark 23. What is the shortcut key to record a macro?
B) AutoText A) Alt + F11
C) Page Break B) Ctrl + M
D) Cross-reference C) Alt + Shift + M
✅ Answer: B) AutoText D) Ctrl + Shift + M
✅ Answer: A) Alt + F11
17. Which feature allows you to insert graphical
elements like images and shapes in a Word 24. A template in MS Word is:
document? A) A pre-designed document layout
A) Insert B) A document saved as .txt
B) Layout C) A file with macros only
C) Mailings D) A file format for presentations
✅ Answer: A) A pre-designed document layout
25. Which of the following is NOT a type of template C) Making presentations
available in MS Word? D) Managing emails
A) Resume template ✅ Answer: B) Spreadsheet calculations
B) Calendar template
C) Spreadsheet template 2. What is the default file extension of an Excel
D) Letter template workbook in newer versions?
✅ Answer: C) Spreadsheet template A) .xls
B) .xlsx
26. Which feature helps track changes made by C) .docx
multiple users in a document? D) .csv
A) Find & Replace ✅ Answer: B) .xlsx
B) Track Changes
C) Mail Merge 3. In Excel, a collection of rows and columns is called
D) Comments a:
✅ Answer: B) Track Changes A) Document
B) Workbook
27. What is the shortcut key to open the "Spelling & C) Worksheet
Grammar" check in MS Word? D) Cell
A) F2 ✅ Answer: C) Worksheet
B) F5
C) F7 4. A single cell in Excel is identified by:
D) F12 A) Row number only
✅ Answer: C) F7 B) Column letter only
C) Both row number and column letter
28. The "Headers & Footers" feature is used to: D) None of the above
A) Insert page numbers and document titles ✅ Answer: C) Both row number and column letter
B) Add tables
C) Change font style 5. What type of data can be entered into an Excel cell?
D) Print multiple copies A) Text
✅ Answer: A) Insert page numbers and document B) Numbers
titles C) Formulas
D) All of the above
29. What is the use of the "Watermark" feature in MS ✅ Answer: D) All of the above
Word?
A) To highlight important text 6. Which key is used to move to the next column in
B) To add a background text or image Excel?
C) To apply a border A) Tab
D) To convert text to tables B) Enter
✅ Answer: B) To add a background text or image C) Shift
D) Ctrl
30. What is the default font in MS Word 2010? ✅ Answer: A) Tab
A) Times New Roman
B) Arial 7. Which key is used to move to the next row in Excel?
C) Calibri A) Enter
D) Verdana B) Tab
✅ Answer: C) Calibri C) Shift
D) Ctrl
1. Introduction to Excel Features and Data Types ✅ Answer: A) Enter
1. What is MS Excel primarily used for? 8. What is the maximum number of rows in an Excel
A) Word processing worksheet (Excel 2016 & later)?
B) Spreadsheet calculations A) 65,536
B) 1,048,576 D) A$1
C) 256 ✅ Answer: B) A1
D) 16,384
✅ Answer: B) 1,048,576 15. Which symbol is used to reference cells from
another sheet?
9. What is the maximum number of columns in an A) !
Excel worksheet (Excel 2016 & later)? B) #
A) 256 C) @
B) 16,384 D) &
C) 1,048,576 ✅ Answer: A) !
D) 10,000
✅ Answer: B) 16,384 16. How do you reference cell A1 from "Sheet2" in
"Sheet1"?
10. Which shortcut key is used to open a new A) Sheet2:A1
workbook in Excel? B) Sheet2!A1
A) Ctrl + N C) Sheet2.A1
B) Ctrl + O D) Sheet2#A1
C) Ctrl + W ✅ Answer: B) Sheet2!A1
D) Ctrl + S
✅ Answer: A) Ctrl + N 3. Introduction to Various Excel Functions
2. Cell Referencing and Linking Sheets 17. What is the function of SUM()?
A) Counts the number of values
11. Which symbol is used to lock a cell reference in B) Adds values
Excel formulas? C) Finds the average
A) # D) Rounds a number
B) $ ✅ Answer: B) Adds values
C) @
D) & 18. Which function is used to find the highest value in
✅ Answer: B) $ a range?
A) MIN()
12. What is an absolute cell reference? B) MAX()
A) A reference that changes when copied C) AVERAGE()
B) A reference that remains fixed when copied D) COUNT()
C) A reference to a different sheet ✅ Answer: B) MAX()
D) A reference used only in charts
✅ Answer: B) A reference that remains fixed when 19. What does the AVERAGE() function do?
copied A) Finds the sum of values
B) Finds the mean of values
13. Which of the following is a correct absolute C) Counts the values
reference? D) Rounds the values
A) A1 ✅ Answer: B) Finds the mean of values
B) $A$1
C) A$1 20. What is the function of COUNT()?
D) $A1 A) Counts the total number of cells
✅ Answer: B) $A$1 B) Counts the number of numeric values
C) Counts the number of blank cells
14. Which of the following is a relative reference? D) Finds the sum of numbers
A) $A$1 ✅ Answer: B) Counts the number of numeric values
B) A1
C) $A1 21. Which function finds the lowest value in a range?
A) MIN()
B) MAX() D) Creates a table
C) COUNT() ✅ Answer: A) Finds a value to achieve a desired result
D) SUM()
✅ Answer: A) MIN() 28. Which tool is used for "What-If" analysis?
A) Goal Seek
22. The IF function is used for: B) SUM()
A) Mathematical calculations C) AutoSum
B) Conditional logic D) COUNT()
C) Finding the highest value ✅ Answer: A) Goal Seek
D) Formatting text
✅ Answer: B) Conditional logic 29. What is the use of a Chart in Excel?
A) To visually represent data
4. Sorting, Filtering, and Validating Data B) To sort numbers
C) To count blank cells
23. What is the purpose of sorting data in Excel? D) To perform calculations
A) To arrange data in a specific order ✅ Answer: A) To visually represent data
B) To create formulas
C) To count values 30. Which Excel chart is best for comparing parts of a
D) To remove duplicate values whole?
✅ Answer: A) To arrange data in a specific order A) Line chart
B) Bar chart
24. Which Excel feature is used to display only specific C) Pie chart
data? D) Scatter chart
A) Sorting ✅ Answer: C) Pie chart
B) Filtering
C) Pivot Table 6. More on Excel Functions and Formulas
D) Charts
✅ Answer: B) Filtering 31. Which function is used to count the number of
blank cells in a range?
25. What is Data Validation used for? A) COUNT()
A) To restrict data entry B) COUNTBLANK()
B) To sort values C) COUNTA()
C) To filter data D) COUNTIF()
D) To format text ✅ Answer: B) COUNTBLANK()
✅ Answer: A) To restrict data entry
32. Which function checks if a condition is met and
5. Analyzing Data Using Charts, Pivot Tables, and returns one value if TRUE and another if FALSE?
Other Tools A) IF()
B) AND()
26. Which Excel feature is used to summarize large C) OR()
amounts of data? D) NOT()
A) Pivot Table ✅ Answer: A) IF()
B) Sort
C) Filter 33. Which function returns the current date?
D) Conditional Formatting A) TODAY()
✅ Answer: A) Pivot Table B) NOW()
C) DATE()
27. What does Goal Seek do? D) TIME()
A) Finds a value to achieve a desired result ✅ Answer: A) TODAY()
B) Sorts data
C) Filters data 34. The CONCATENATE function is used to:
A) Merge two or more text values into one
B) Find the sum of numbers C) Filtering
C) Sort data D) Goal Seek
D) Apply formatting ✅ Answer: A) Remove Duplicates
✅ Answer: A) Merge two or more text values into one
41. Which type of sorting arranges data in increasing
35. What does the VLOOKUP function do? order?
A) Searches for a value in a row A) Descending
B) Searches for a value in a column and returns data B) Random
from another column C) Alphabetical
C) Counts the number of cells D) Ascending
D) Filters data ✅ Answer: D) Ascending
✅ Answer: B) Searches for a value in a column and
returns data from another column 42. How can you filter data in Excel?
A) Using the Filter option under the Data tab
36. Which function is used to retrieve data from a B) Applying Conditional Formatting
table by matching a value from a row? C) Using a Pivot Table
A) VLOOKUP D) Using the Page Layout tab
B) HLOOKUP ✅ Answer: A) Using the Filter option under the Data
C) MATCH tab
D) INDEX
✅ Answer: B) HLOOKUP 43. How can you create a drop-down list in Excel?
A) Using Data Validation
37. What does the MATCH function do? B) Using the Sort function
A) Finds a value’s position in a range C) Using the CONCATENATE function
B) Looks up data from another sheet D) Using Conditional Formatting
C) Counts values ✅ Answer: A) Using Data Validation
D) Filters a dataset
✅ Answer: A) Finds a value’s position in a range 8. Pivot Tables, Data Analysis, and Charting
38. What is the purpose of the INDEX function? 44. What is the primary purpose of a Pivot Table?
A) Returns a value from a specified row and column in A) To summarize and analyze large datasets
a table B) To filter data
B) Finds the highest number C) To sort values
C) Sorts data D) To count blank cells
D) Filters text values ✅ Answer: A) To summarize and analyze large datasets
✅ Answer: A) Returns a value from a specified row 45. Which Excel feature allows you to model different
and column in a table scenarios?
7. Sorting, Filtering, and Conditional Formatting A) Goal Seek
B) Scenario Manager
39. Which Excel feature highlights cells based on a C) Solver
condition? D) All of the above
A) Sorting ✅ Answer: D) All of the above
B) Conditional Formatting
C) Data Validation 46. Which chart type is best for showing trends over
D) Pivot Table time?
✅ Answer: B) Conditional Formatting A) Pie chart
B) Column chart
40. Which tool is used to remove duplicate values C) Line chart
from a dataset? D) Bar chart
A) Remove Duplicates ✅ Answer: C) Line chart
B) Sorting
47. Which chart is best for comparing values across 3. What is the file extension of an OpenOffice Impress
categories? presentation?
A) Pie chart A) .ppt
B) Column chart B) .odp
C) Scatter plot C) .xls
D) Line chart D) .doc
✅ Answer: B) Column chart ✅ Answer: B) .odp
48. What does the "Data Table" feature in Excel do? 4. Which component of OpenOffice is used for word
A) Creates a summary of multiple scenarios processing?
B) Filters data A) OpenOffice Writer
C) Sorts values B) OpenOffice Calc
D) Removes duplicates C) OpenOffice Base
✅ Answer: A) Creates a summary of multiple scenarios D) OpenOffice Impress
✅ Answer: A) OpenOffice Writer
49. How do you refresh a Pivot Table after updating
the source data? 5. Which OpenOffice application is used for
A) Click on "Refresh" under the PivotTable Analyze tab spreadsheets?
B) Press Ctrl + R A) OpenOffice Writer
C) Use the Goal Seek function B) OpenOffice Calc
D) Recreate the Pivot Table C) OpenOffice Base
✅ Answer: A) Click on "Refresh" under the PivotTable D) OpenOffice Draw
Analyze tab ✅ Answer: B) OpenOffice Calc
50. What is the primary function of "Goal Seek" in 2. Introduction to Image Properties and Editing
Excel?
A) To find input values needed to achieve a desired 6. What is image resolution measured in?
output A) Pixels per inch (PPI)
B) To filter data B) Dots per inch (DPI)
C) To create a Pivot Table C) Megabytes
D) To validate cell values D) Both A and B
✅ Answer: A) To find input values needed to achieve a ✅ Answer: D) Both A and B
desired output 7. Which of the following is a raster image format?
1. Introduction to Open Office A) SVG
B) PNG
1. What is OpenOffice? C) EPS
A) A web browser D) AI
B) A free and open-source office suite ✅ Answer: B) PNG
C) A database software
D) A programming language 8. What is the main advantage of vector images over
✅ Answer: B) A free and open-source office suite raster images?
A) Better color quality
2. Which of the following is the presentation software B) Can be resized without losing quality
in OpenOffice? C) Uses less memory
A) OpenOffice Writer D) Higher resolution
B) OpenOffice Calc ✅ Answer: B) Can be resized without losing quality
C) OpenOffice Impress
D) OpenOffice Base 9. Which image format supports transparency?
✅ Answer: C) OpenOffice Impress A) JPEG
B) PNG
C) BMP
D) TIFF D) Writing code
✅ Answer: B) PNG ✅ Answer: B) Making presentations
10. Which of the following is NOT an image editing 16. What is the default file format for PowerPoint
software? presentations?
A) Photoshop A) .ppt
B) GIMP B) .pptx
C) VLC Media Player C) .pps
D) Paint.NET D) .odp
✅ Answer: C) VLC Media Player ✅ Answer: B) .pptx
11. What is the purpose of the "Layers" feature in 17. What is a "Slide" in PowerPoint?
image editing software? A) A single page in a presentation
A) To adjust color balance B) A type of animation
B) To separate and manipulate different elements of an C) A transition effect
image D) A sound effect
C) To resize an image ✅ Answer: A) A single page in a presentation
D) To change image brightness
✅ Answer: B) To separate and manipulate different 18. Which tab in PowerPoint allows you to add new
elements of an image slides?
A) Home
12. Which tool is used to remove the background of B) Insert
an image? C) Design
A) Crop tool D) Transitions
B) Lasso tool ✅ Answer: A) Home
C) Magic Wand tool
D) Paint Bucket tool 19. Which of the following is an advantage of
✅ Answer: C) Magic Wand tool PowerPoint?
A) It requires internet access
13. Which file format is best for printing high-quality B) It makes presentations more interactive
images? C) It only supports text-based presentations
A) JPEG D) It cannot include multimedia
B) PNG ✅ Answer: B) It makes presentations more interactive
C) TIFF
D) GIF 4. Creating Slide Shows and Presentation Techniques
✅ Answer: C) TIFF 20. Which feature in PowerPoint allows automatic
14. What is the purpose of image compression? slide advancement?
A) To increase the file size A) Slide Show
B) To reduce the file size while maintaining quality B) Rehearse Timings
C) To change the image format C) Hyperlink
D) To add effects D) Animation
✅ Answer: B) To reduce the file size while maintaining ✅ Answer: B) Rehearse Timings
quality 21. How can you apply the same design to all slides in
3. Introduction to PowerPoint and Its Advantages PowerPoint?
A) By copying and pasting
15. What is PowerPoint used for? B) By using Slide Master
A) Creating spreadsheets C) By using the Insert tab
B) Making presentations D) By manually editing each slide
C) Editing images ✅ Answer: B) By using Slide Master
22. What is the purpose of slide transitions? D) Avoiding images and charts
A) To change font style ✅ Answer: B) Using bullet points and visuals
B) To add movement between slides
C) To insert images 29. What is the "Presenter View" used for in
D) To check spelling PowerPoint?
✅ Answer: B) To add movement between slides A) To print slides
B) To view speaker notes while presenting
23. Which feature allows you to add movement to C) To apply transitions
objects on a slide? D) To insert videos
A) Transition ✅ Answer: B) To view speaker notes while presenting
B) Animation
C) Hyperlink 30. What should you avoid in a PowerPoint
D) Master Slide presentation?
✅ Answer: B) Animation A) Simple and clear slides
B) Too much text and animations
24. Which shortcut key starts a slide show from the C) High-quality images
beginning? D) Bullet points
A) F2 ✅ Answer: B) Too much text and animations
B) F5
C) Shift + F5 1. Advanced Image Editing and Formats
D) Ctrl + S 31. Which image format is best for web use due to its
✅ Answer: B) F5 lossless compression?
25. Which shortcut key starts a slide show from the A) JPEG
current slide? B) PNG
A) F5 C) BMP
B) Shift + F5 D) TIFF
C) Ctrl + Enter ✅ Answer: B) PNG
D) Alt + Tab 32. What is the main disadvantage of using the JPEG
✅ Answer: B) Shift + F5 format?
26. Which type of chart is best for showing trends A) Large file size
over time in PowerPoint? B) Supports only black and white images
A) Pie Chart C) Lossy compression reduces image quality
B) Bar Chart D) Cannot be used for web images
C) Line Chart ✅ Answer: C) Lossy compression reduces image
D) Scatter Plot quality
✅ Answer: C) Line Chart 33. What is the function of the "Clone Stamp" tool in
27. What is the best way to engage an audience in a image editing?
PowerPoint presentation? A) Copies one part of an image to another area
A) Use a lot of text B) Changes the brightness of an image
B) Add high-quality images and animations C) Removes color from an image
C) Use plain black and white slides D) Applies a filter
D) Read directly from the slides ✅ Answer: A) Copies one part of an image to another
✅ Answer: B) Add high-quality images and animations area
28. What is a good practice when designing 34. What does DPI (dots per inch) measure?
PowerPoint slides? A) File size of an image
A) Using long paragraphs B) Print resolution of an image
B) Using bullet points and visuals C) Number of colors in an image
C) Adding as much text as possible
D) Screen brightness D) .odp
✅ Answer: B) Print resolution of an image ✅ Answer: B) .odt
35. Which tool is used to resize an image without 3. PowerPoint Advanced Features
distorting its proportions?
A) Crop tool 41. Which feature in PowerPoint allows you to apply a
B) Free Transform tool uniform design across all slides?
C) Scale tool A) Slide Sorter
D) Lasso tool B) Slide Master
✅ Answer: C) Scale tool C) Notes Page
D) Layouts
36. Which format is commonly used for professional ✅ Answer: B) Slide Master
photo printing?
A) GIF 42. What is the purpose of the "Rehearse Timings"
B) BMP feature in PowerPoint?
C) TIFF A) To add animations
D) JPEG B) To set the timing of slides for a self-running
✅ Answer: C) TIFF presentation
C) To insert videos
37. What is the purpose of a histogram in image D) To print slides
editing software? ✅ Answer: B) To set the timing of slides for a self-
A) Displays the pixel color information of an image running presentation
B) Measures file size
C) Converts an image to grayscale 43. Which of the following is NOT an animation effect
D) Creates a background effect in PowerPoint?
✅ Answer: A) Displays the pixel color information of A) Entrance
an image B) Emphasis
C) Exit
2. OpenOffice Features and Uses D) Template
✅ Answer: D) Template
38. Which of the following is NOT an OpenOffice
application? 44. What is the purpose of "Hyperlink" in a
A) OpenOffice Writer PowerPoint presentation?
B) OpenOffice Spreadsheet A) To apply animations
C) OpenOffice Database B) To create links to slides, websites, or documents
D) OpenOffice Project C) To adjust slide transitions
✅ Answer: D) OpenOffice Project D) To insert videos
✅ Answer: B) To create links to slides, websites, or
39. Which OpenOffice application is used for making documents
vector graphics?
A) OpenOffice Impress 45. Which shortcut key is used to insert a new slide in
B) OpenOffice Draw PowerPoint?
C) OpenOffice Calc A) Ctrl + N
D) OpenOffice Base B) Ctrl + S
✅ Answer: B) OpenOffice Draw C) Ctrl + M
D) Ctrl + O
40. Which file format is used to save OpenOffice ✅ Answer: C) Ctrl + M
Writer documents?
A) .docx 46. What is the purpose of "Presenter View" in
B) .odt PowerPoint?
C) .xls A) To allow presenters to see notes while presenting
B) To edit slides in fullscreen mode
C) To record the presentation 1. Introduction to DBMS and RDBMS
D) To convert slides into images
✅ Answer: A) To allow presenters to see notes while 1. What does DBMS stand for?
presenting A) Data Backup Management System
B) Database Management System
4. Presentation Techniques and Best Practices C) Data Batch Management System
D) Digital Backup Management System
47. Which is the best way to make a PowerPoint ✅ Answer: B) Database Management System
presentation engaging?
A) Use a lot of text on slides 2. Which of the following is an example of a DBMS?
B) Include images, animations, and bullet points A) MS Word
C) Use small font size B) MySQL
D) Read every word from the slides C) Google Chrome
✅ Answer: B) Include images, animations, and bullet D) Windows OS
points ✅ Answer: B) MySQL
48. What should be the ideal font size for a 3. What is RDBMS?
PowerPoint slide title? A) A non-relational database
A) 10-15 pt B) A type of file system
B) 16-20 pt C) A database that uses tables with relationships
C) 30-40 pt D) A backup system for databases
D) 50-60 pt ✅ Answer: C) A database that uses tables with
✅ Answer: C) 30-40 pt relationships
49. What is a major mistake in a PowerPoint 4. What is the primary difference between DBMS and
presentation? RDBMS?
A) Using too many different fonts and colors A) DBMS supports relationships, RDBMS does not
B) Keeping slides simple and clean B) RDBMS supports relationships and constraints,
C) Adding images and charts DBMS does not
D) Using bullet points for key ideas C) DBMS uses SQL, RDBMS does not
✅ Answer: A) Using too many different fonts and D) RDBMS is only used in small applications
colors ✅ Answer: B) RDBMS supports relationships and
constraints, DBMS does not
50. What is the "Rule of 6x6" in PowerPoint?
A) Use only 6 colors in a presentation 2. Data Models, DBA, and Database Users
B) Have a maximum of 6 bullet points per slide and 6
words per point 5. Which of the following is NOT a type of data
C) Use 6 different transitions in a presentation model?
D) Add 6 minutes of animations per slide A) Hierarchical model
✅ Answer: B) Have a maximum of 6 bullet points per B) Network model
slide and 6 words per point C) Flat-file model
D) Relational model
Summary: ✅ Answer: C) Flat-file model
This completes the 50 important MCQs on Image 6. What is the role of a Database Administrator
Editing, OpenOffice, PowerPoint, and Presentation (DBA)?
Techniques covering image formats, PowerPoint A) To design web pages
shortcuts, animations, slide management, and B) To manage and maintain the database
presentation best practices. C) To write application software
D) To modify hardware components
Would you like explanations for any of these questions ✅ Answer: B) To manage and maintain the database
or need more practice sets? 😊
7. Which database user interacts directly with the B) DELETE
database through queries? C) CREATE
A) End-user D) UPDATE
B) DBA ✅ Answer: C) CREATE
C) Developer
D) Data Analyst 14. Which of the following is a DML command?
✅ Answer: A) End-user A) DROP
B) INSERT
3. Database Schema and Normalization C) GRANT
D) COMMIT
8. What is a database schema? ✅ Answer: B) INSERT
A) A collection of SQL queries
B) The structure that defines tables and relationships 15. Which command is used to remove all records
C) The backup of a database from a table without deleting the structure?
D) The data stored in a table A) DROP
✅ Answer: B) The structure that defines tables and B) DELETE
relationships C) TRUNCATE
D) ALTER
9. What is the purpose of database normalization? ✅ Answer: C) TRUNCATE
A) To remove redundant data
B) To create complex queries 6. Primary Key, Foreign Key, and Constraints
C) To increase data redundancy
D) To create backup copies 16. What is the purpose of a primary key?
✅ Answer: A) To remove redundant data A) To store duplicate values
B) To uniquely identify records
10. What is the highest level of normalization? C) To allow NULL values
A) 1NF D) To store images
B) 2NF ✅ Answer: B) To uniquely identify records
C) 3NF
D) BCNF 17. A foreign key is used to establish what?
✅ Answer: D) BCNF A) Constraints
B) Security policies
4. Data Types and Data Integrity C) Relationships between tables
D) Indexing
11. Which of the following is NOT a valid SQL data ✅ Answer: C) Relationships between tables
type?
A) INT 7. MySQL Queries and Indexing
B) FLOAT
C) STRING 18. Which MySQL command displays all records from
D) BOOLEAN a table?
✅ Answer: C) STRING A) SHOW ALL
B) SELECT *
12. What is data integrity in a database? C) FETCH ALL
A) Ensuring data accuracy and consistency D) PRINT TABLE
B) Deleting duplicate data ✅ **Answer: B) SELECT ***
C) Encrypting data
D) Increasing data storage 19. How do you create an index in MySQL?
✅ Answer: A) Ensuring data accuracy and consistency A) CREATE INDEX idx_name ON table(column);
B) MAKE INDEX idx_name ON table(column);
5. SQL Commands: DDL, DML, DCL C) ADD INDEX idx_name ON table(column);
D) INSERT INDEX idx_name ON table(column);
13. Which of the following is a DDL command?
A) SELECT
✅ Answer: A) CREATE INDEX idx_name ON B) Relational Database Management System
table(column); C) Revised Database Management System
D) Redundant Database Management System
20. What is the purpose of indexing in MySQL? ✅ Answer: B) Relational Database Management
A) To increase data redundancy System (RDBMS)
B) To speed up query execution
C) To delete duplicate records 3. What is the key difference between DBMS and
D) To ensure data integrity RDBMS?
✅ Answer: B) To speed up query execution A) DBMS stores data in tables, RDBMS stores data in
files
8. Advanced MySQL Queries B) RDBMS supports relationships between tables;
21. What does the MySQL GROUP BY clause do? DBMS does not
A) Groups rows that have the same values C) DBMS supports relationships, RDBMS does not
B) Sorts the result D) DBMS is faster than RDBMS
C) Deletes duplicate rows ✅ Answer: B) RDBMS supports relationships between
D) Inserts new records tables; DBMS does not
✅ Answer: A) Groups rows that have the same values 4. Which of the following is an example of an RDBMS?
22. What does the MySQL ORDER BY clause do? A) MS Excel
A) Groups similar values B) MySQL
B) Sorts the query result C) Windows OS
C) Deletes duplicate records D) Google Drive
D) Creates a new table ✅ Answer: B) MySQL
✅ Answer: B) Sorts the query result 2. Data Models, DBA, and Database Users
23. Which clause is used to filter the results of a 5. What does DBA stand for?
query? A) Data Backup Administrator
A) GROUP BY B) Database Administrator
B) ORDER BY C) Data Business Analyst
C) WHERE D) Digital Backup Administrator
D) DISTINCT ✅ Answer: B) Database Administrator (DBA)
✅ Answer: C) WHERE
6. Which of the following is NOT a type of database
24. What is the default sorting order of ORDER BY in model?
MySQL? A) Flat-file model
A) DESC (Descending) B) Hierarchical model
B) ASC (Ascending) C) Network model
C) Random D) Relational model
D) It depends on the column type ✅ Answer: A) Flat-file model
✅ Answer: B) ASC (Ascending)
7. What is the role of a DBA?
1. Introduction to DBMS and RDBMS A) To create websites
1. What does DBMS stand for? B) To design graphics
A) Data Backup Management System C) To manage and maintain the database
B) Database Management System D) To modify computer hardware
C) Data Batch Management System ✅ Answer: C) To manage and maintain the database
D) Digital Backup Management System 3. Database Schema and Normalization
✅ Answer: B) Database Management System (DBMS)
8. What is a database schema?
2. What does RDBMS stand for? A) The structure that defines tables and relationships
A) Remote Database Management System
B) The collection of SQL queries 15. What does DCL stand for?
C) The backup of a database A) Data Control Language
D) The stored data B) Data Communication Language
✅ Answer: A) The structure that defines tables and C) Digital Command Language
relationships D) Data Computation Language
✅ Answer: A) Data Control Language (DCL)
9. What is the purpose of database normalization?
A) To remove redundant data 6. Primary Key, Foreign Key, and Constraints
B) To create complex queries
C) To increase data redundancy 16. What is the purpose of a Primary Key?
D) To create a backup A) To uniquely identify records
✅ Answer: A) To remove redundant data B) To store duplicate values
C) To allow NULL values
10. What is the highest level of normalization? D) To store images
A) BCNF (Boyce-Codd Normal Form) ✅ Answer: A) To uniquely identify records
B) 1NF
C) 2NF 17. What is a Foreign Key used for?
D) 3NF A) To establish relationships between tables
✅ Answer: A) BCNF (Boyce-Codd Normal Form) B) To store primary data
C) To index columns
4. Data Types and Data Integrity D) To remove duplicate values
✅ Answer: A) To establish relationships between
11. What does SQL stand for? tables
A) Sequential Query Language
B) Structured Query Language 7. MySQL Queries and Indexing
C) System Query Language
D) Simple Query Language 18. What does MySQL stand for?
✅ Answer: B) Structured Query Language (SQL) A) My Structured Query Language
B) Master Structured Query Language
12. Which of the following is NOT a valid SQL data C) Mini SQL
type? D) Modular SQL
A) INT ✅ Answer: A) My Structured Query Language (MySQL)
B) FLOAT
C) STRING 19. How do you create an index in MySQL?
D) BOOLEAN A) CREATE INDEX idx_name ON table(column);
✅ Answer: C) STRING B) MAKE INDEX idx_name ON table(column);
C) ADD INDEX idx_name ON table(column);
5. SQL Commands: DDL, DML, DCL D) INSERT INDEX idx_name ON table(column);
✅ Answer: A) CREATE INDEX idx_name ON
13. What does DDL stand for? table(column);
A) Data Definition Language
B) Data Deployment Language 1. Advanced MySQL Queries
C) Digital Data Language
D) Database Definition Language 1. What is the purpose of the HAVING clause?
✅ Answer: A) Data Definition Language (DDL) A) To filter results before GROUP BY
B) To filter results after GROUP BY
14. What does DML stand for? C) To sort the results
A) Data Module Language D) To create indexes
B) Data Manipulation Language ✅ Answer: B) To filter results after GROUP BY
C) Data Management Language
D) Data Merging Language 2. What is the purpose of the JOIN operation?
✅ Answer: B) Data Manipulation Language (DML) A) To combine rows from two or more tables
B) To filter duplicate records
C) To create a backup of tables 9. What does the GROUP BY clause do?
D) To delete duplicate rows A) Filters duplicate records
✅ Answer: A) To combine rows from two or more B) Groups rows that have the same values
tables C) Deletes records from a table
D) Creates new tables
3. What does the COUNT() function do? ✅ Answer: B) Groups rows that have the same values
A) Calculates the sum of all values
B) Finds the total number of rows 10. What does ORDER BY do?
C) Returns the maximum value A) Filters the result set
D) Sorts the result set B) Sorts the query result
✅ Answer: B) Finds the total number of rows C) Counts the number of records
D) Joins multiple tables
4. What is a View in MySQL? ✅ Answer: B) Sorts the query result
A) A temporary table stored in RAM
B) A physical table storing query results 11. What is the default sorting order of ORDER BY?
C) A virtual table based on a query A) DESC (Descending)
D) A new type of database object B) ASC (Ascending)
✅ Answer: C) A virtual table based on a query C) RANDOM
D) ALPHA
5. What does the COMMIT command do? ✅ Answer: B) ASC (Ascending)
A) Deletes all records from a table
B) Cancels a transaction 3. SQL Joins
C) Saves all changes made in a transaction
D) Creates a backup of a database 12. What is an INNER JOIN?
✅ Answer: C) Saves all changes made in a transaction A) A join that includes unmatched rows
B) A join that returns only matching records from both
6. Which MySQL command displays all records from a tables
table? C) A join that returns all records from both tables
A) SHOW TABLES D) A join that returns only the first row
B) **SELECT *** ✅ Answer: B) A join that returns only matching
C) VIEW TABLE records from both tables
D) PRINT TABLE
✅ **Answer: B) SELECT *** 13. Which SQL join returns all records from the left
table and matching records from the right table?
2. SQL Functions, Views, Joins, and Transactions A) LEFT JOIN
B) RIGHT JOIN
7. What is the purpose of a UNIQUE constraint? C) INNER JOIN
A) Allows duplicate values D) OUTER JOIN
B) Ensures all values in a column are different ✅ Answer: A) LEFT JOIN
C) Links multiple tables
D) Filters results 14. Which SQL join returns all records from both
✅ Answer: B) Ensures all values in a column are tables, even if there are no matches?
different A) INNER JOIN
B) LEFT JOIN
8. What is the purpose of the CHECK constraint? C) RIGHT JOIN
A) Ensures a column has unique values D) FULL OUTER JOIN
B) Sets a default value for a column ✅ Answer: D) FULL OUTER JOIN
C) Ensures a specific condition is met
D) Sorts query results 15. What is a self-join?
✅ Answer: C) Ensures a specific condition is met A) A join that links multiple databases
B) A join where a table is joined with itself
C) A join that requires primary keys
D) A join that removes duplicates C) Allocation, Control, Integration, Database
✅ Answer: B) A join where a table is joined with itself D) Automation, Connectivity, Isolation, Data
✅ Answer: A) Atomicity, Consistency, Isolation,
4. Subqueries Durability (ACID)
16. What is a subquery? 32. What does the ROLLBACK command do?
A) A query executed after the main query A) Saves the changes made to the database
B) A query inside another query B) Reverts all changes made in a transaction
C) A query that sorts records C) Deletes a database
D) A query that deletes duplicate records D) Closes the database session
✅ Answer: B) A query inside another query ✅ Answer: B) Reverts all changes made in a
17. In which SQL clause can a subquery be used? transaction
A) WHERE 33. What is a deadlock in database management?
B) FROM A) A locked table that cannot be modified
C) SELECT B) A situation where two transactions wait for each
D) All of the above other to release resources
✅ Answer: D) All of the above C) A mechanism for speeding up queries
5. Transactions and Concurrency Control D) A command to lock database tables
✅ Answer: B) A situation where two transactions wait
18. What does ACID stand for in database for each other to release resources
transactions?
A) Atomicity, Consistency, Isolation, Durability 34. Which SQL statement is used to make a
B) Accuracy, Connectivity, Integrity, Dependability transaction permanent?
C) Allocation, Control, Integration, Database A) ROLLBACK
D) Automation, Connectivity, Isolation, Data B) DELETE
✅ Answer: A) Atomicity, Consistency, Isolation, C) COMMIT
Durability (ACID) D) ABORT
✅ Answer: C) COMMIT
19. What does the ROLLBACK command do?
A) Saves the changes made to the database 35. What is the purpose of SAVEPOINT in SQL?
B) Reverts all changes made in a transaction A) It allows partial rollbacks within a transaction
C) Deletes a database B) It locks a table
D) Closes the database session C) It saves data into a backup
✅ Answer: B) Reverts all changes made in a D) It terminates a session
transaction ✅ Answer: A) It allows partial rollbacks within a
transaction
20. What is a deadlock in database management?
A) A locked table that cannot be modified 10. Database Joins and Subqueries
B) A situation where two transactions wait for each 36. What is an INNER JOIN?
other to release resources A) A join that includes unmatched rows
C) A mechanism for speeding up queries B) A join that returns only matching records from both
D) A command to lock database tables tables
✅ Answer: B) A situation where two transactions wait C) A join that returns all records from both tables
for each other to release resources D) A join that returns only the first row
9. Transactions and Concurrency Control ✅ Answer: B) A join that returns only matching
records from both tables
31. What does ACID stand for in database
transactions? 37. Which SQL join returns all records from the left
A) Atomicity, Consistency, Isolation, Durability table and matching records from the right table?
B) Accuracy, Connectivity, Integrity, Dependability A) LEFT JOIN
B) RIGHT JOIN 44. How is a stored procedure executed in MySQL?
C) INNER JOIN A) EXECUTE procedure_name;
D) OUTER JOIN B) CALL procedure_name();
✅ Answer: A) LEFT JOIN C) RUN procedure_name;
D) START procedure_name;
38. Which SQL join returns all records from both ✅ Answer: B) CALL procedure_name();
tables, even if there are no matches?
A) INNER JOIN 12. Indexing and Performance Optimization
B) LEFT JOIN
C) RIGHT JOIN 45. What is the main purpose of indexing in a
D) FULL OUTER JOIN database?
✅ Answer: D) FULL OUTER JOIN A) To store duplicate values
B) To speed up query execution
39. What is a subquery? C) To delete redundant records
A) A query executed after the main query D) To ensure data consistency
B) A query inside another query ✅ Answer: B) To speed up query execution
C) A query that sorts records
D) A query that deletes duplicate records 46. What is the difference between a clustered and a
✅ Answer: B) A query inside another query non-clustered index?
A) A clustered index sorts the data, while a non-
40. In which SQL clause can a subquery be used? clustered index does not
A) WHERE B) A non-clustered index is always faster
B) FROM C) A clustered index uses more storage
C) SELECT D) A clustered index can only be used for large
D) All of the above databases
✅ Answer: D) All of the above ✅ Answer: A) A clustered index sorts the data, while a
non-clustered index does not
11. Views, Stored Procedures, and Triggers
47. What is meant by "query optimization" in
41. What is a VIEW in SQL? databases?
A) A stored table A) Improving the performance of SQL queries
B) A temporary table B) Creating new tables
C) A virtual table based on a query C) Running multiple queries at once
D) A backup copy of a table D) Using only SELECT statements
✅ Answer: C) A virtual table based on a query ✅ Answer: A) Improving the performance of SQL
42. What does a TRIGGER do in a database? queries
A) It stores large amounts of data 48. What is a foreign key constraint used for?
B) It indexes a table A) To enforce referential integrity
C) It executes automatically when a specified event B) To define relationships between tables
occurs C) To prevent orphan records
D) It defines relationships between tables D) All of the above
✅ Answer: C) It executes automatically when a ✅ Answer: D) All of the above
specified event occurs
49. What does the ANALYZE TABLE command do in
43. What is the purpose of a Stored Procedure? MySQL?
A) A set of SQL statements stored for reuse A) Collects statistics about a table for query
B) A function that calculates values optimization
C) A method to delete records B) Deletes records from a table
D) A tool for indexing C) Creates a new table
✅ Answer: A) A set of SQL statements stored for reuse D) Updates all indexes in the database
✅ Answer: A) Collects statistics about a table for query ✅ Answer: A) It allows partial rollbacks within a
optimization transaction
50. What is the purpose of the EXPLAIN statement in 2. ACID Properties of Transactions
MySQL?
A) It shows how MySQL executes a query for 6. What does ACID stand for in database transactions?
optimization A) Atomicity, Connectivity, Integrity, Dependability
B) It describes database schema B) Atomicity, Consistency, Isolation, Durability
C) It runs a transaction C) Allocation, Control, Integration, Database
D) It modifies a table structure D) Automation, Connectivity, Isolation, Data
✅ Answer: A) It shows how MySQL executes a query ✅ Answer: B) Atomicity, Consistency, Isolation,
for optimization Durability
3. Which command is used to undo all changes made 9. What does Isolation in ACID transactions ensure?
in a transaction? A) Prevents deadlocks
A) ROLLBACK B) Ensures concurrent transactions do not interfere
B) DELETE with each other
C) SAVEPOINT C) Creates database backups
D) DROP D) Ensures data integrity
✅ Answer: A) ROLLBACK ✅ Answer: B) Ensures concurrent transactions do not
interfere with each other
4. What does the START TRANSACTION command do?
A) Begins a new transaction 10. What does Durability in ACID transactions
B) Ends an existing transaction guarantee?
C) Commits changes automatically A) Ensures queries are optimized
D) Deletes a transaction B) Ensures committed transactions are permanently
✅ Answer: A) Begins a new transaction stored in the database
C) Ensures transactions execute faster
5. What is the purpose of the SAVEPOINT command? D) Ensures duplicate data is removed
A) It allows partial rollbacks within a transaction ✅ Answer: B) Ensures committed transactions are
B) Commits a transaction permanently stored in the database
C) Deletes a table
D) Closes the database session 3. Constraints in MySQL
11. What is a constraint in MySQL? A) Exclusive Lock
A) A command to delete a database B) Shared Lock
B) A rule applied to a column to enforce data integrity C) Deadlock
C) A function that speeds up transactions D) Index Lock
D) A command that optimizes queries ✅ Answer: A) Exclusive Lock
✅ Answer: B) A rule applied to a column to enforce
data integrity 18. What does a Shared Lock do?
A) Prevents other transactions from reading the data
12. Which of the following is NOT a MySQL B) Allows multiple transactions to read the data but
constraint? not modify it
A) PRIMARY KEY C) Deletes records from the database
B) QUERY KEY D) Executes queries faster
C) FOREIGN KEY ✅ Answer: B) Allows multiple transactions to read the
D) UNIQUE data but not modify it
✅ Answer: B) QUERY KEY
5. Isolation Levels in Transactions
13. What does the PRIMARY KEY constraint do?
A) Ensures a column has duplicate values 19. What is the purpose of isolation levels?
B) Uniquely identifies each row in a table A) To define how transactions interact with each other
C) Links two tables together B) To speed up database transactions
D) Deletes records automatically C) To delete duplicate records
✅ Answer: B) Uniquely identifies each row in a table D) To ensure query execution order
✅ Answer: A) To define how transactions interact with
14. What does the FOREIGN KEY constraint do? each other
A) Creates a unique index
B) Links two tables together to maintain referential 20. Which isolation level allows dirty reads?
integrity A) Serializable
C) Deletes duplicate records B) Read Uncommitted
D) Sorts data in ascending order C) Repeatable Read
✅ Answer: B) Links two tables together to maintain D) Read Committed
referential integrity ✅ Answer: B) Read Uncommitted
15. What does the UNIQUE constraint ensure? 21. Which isolation level ensures no dirty reads but
A) Prevents duplicate values in a column allows non-repeatable reads?
B) Deletes duplicate records A) Serializable
C) Ensures data remains sorted B) Read Uncommitted
D) Links tables together C) Read Committed
✅ Answer: A) Prevents duplicate values in a column D) Repeatable Read
✅ Answer: C) Read Committed
4. MySQL Locking and Deadlocks
22. Which isolation level prevents both dirty reads
16. What is a deadlock in MySQL? and non-repeatable reads but allows phantom reads?
A) A locked table that cannot be modified A) Repeatable Read
B) A situation where two transactions wait for each B) Read Uncommitted
other to release resources C) Serializable
C) A mechanism for speeding up queries D) Read Committed
D) A command to lock database tables ✅ Answer: A) Repeatable Read
✅ Answer: B) A situation where two transactions wait
for each other to release resources 23. Which isolation level prevents dirty reads, non-
repeatable reads, and phantom reads?
17. Which type of lock prevents other transactions A) Read Uncommitted
from accessing a table? B) Read Committed
C) Serializable ✅ Answer: A) It is automatically committed (default
D) Repeatable Read behavior unless AUTOCOMMIT is disabled)
✅ Answer: C) Serializable
5. Which command is used to create a SAVEPOINT
24. What is the default isolation level in MySQL? within a transaction?
A) Repeatable Read A) SET SAVEPOINT sp1;
B) Serializable B) SAVEPOINT sp1;
C) Read Committed C) MARK SAVEPOINT sp1;
D) Read Uncommitted D) ROLLBACK SAVEPOINT sp1;
✅ Answer: A) Repeatable Read ✅ Answer: B) SAVEPOINT sp1;
13. If a database crashes after a COMMIT, what 19. How do you release a table lock?
happens to the transaction? A) UNLOCK TABLE table_name;
A) The transaction is lost B) DROP LOCK;
B) The transaction is automatically rolled back C) UNLOCK TABLES;
C) The transaction is permanently stored D) REMOVE TABLE LOCK;
D) The database restarts ✅ Answer: C) UNLOCK TABLES;
✅ Answer: C) The transaction is permanently stored
6. Indexing in MySQL
4. MySQL Isolation Levels - Practical Usage
20. How do you create an index on the name column
14. What isolation level should you use to avoid dirty of employees?
reads? A) CREATE INDEX emp_index ON employees (name);
A) READ UNCOMMITTED B) ADD INDEX emp_index ON employees (name);
B) READ COMMITTED C) ALTER TABLE employees ADD INDEX (name);
C) REPEATABLE READ D) Both A and C
D) SERIALIZABLE ✅ Answer: D) Both A and C
✅ Answer: B) READ COMMITTED
21. What is the main purpose of an index?
15. Which command sets the transaction isolation A) Reduce database size
level to SERIALIZABLE? B) Speed up search queries
A) SET TRANSACTION SERIALIZABLE; C) Improve transaction speed
B) SET ISOLATION LEVEL SERIALIZABLE; D) Improve data storage efficiency
C) SET SESSION TRANSACTION ISOLATION LEVEL ✅ Answer: B) Speed up search queries
SERIALIZABLE;
D) SET TRANSACTION ISOLATION LEVEL SERIAL;
✅ Answer: C) SET SESSION TRANSACTION ISOLATION Final 3 Questions - Mixed Topics
LEVEL SERIALIZABLE;
22. How do you delete a record and reset 4. What happens in an INNER JOIN if there is no
AUTO_INCREMENT? match between the two tables?
A) DELETE FROM employees; A) The unmatched rows are returned
B) TRUNCATE TABLE employees; B) The unmatched rows from the left table are
C) DROP TABLE employees; returned
D) RESET AUTO_INCREMENT; C) The unmatched rows from the right table are
✅ Answer: B) TRUNCATE TABLE employees; returned
D) The unmatched rows are not returned
23. What command checks MySQL constraints on a ✅ Answer: D) The unmatched rows are not returned
table?
A) SHOW CONSTRAINTS; 5. Which JOIN returns all rows from both tables, with
B) SHOW CREATE TABLE table_name; NULLs for non-matching rows?
C) DESCRIBE CONSTRAINTS table_name; A) LEFT JOIN
D) SELECT * FROM B) RIGHT JOIN
INFORMATION_SCHEMA.CONSTRAINTS; C) INNER JOIN
✅ Answer: B) SHOW CREATE TABLE table_name; D) FULL OUTER JOIN
✅ Answer: D) FULL OUTER JOIN
24. How do you back up a MySQL database?
A) EXPORT DATABASE; 2. Joins in MySQL - Practical Queries
B) BACKUP DATABASE;
C) mysqldump -u root -p database_name > backup.sql 6. What does the following SQL statement do?
D) SAVE DATABASE; SELECT employees.name,
✅ Answer: C) mysqldump -u root -p database_name > departments.department_name
backup.sql
FROM employees
1. Joins in MySQL - Theory Questions
INNER JOIN departments ON employees.dept_id =
1. What is a JOIN in MySQL? departments.id;
A) A command to delete duplicate records
B) A way to retrieve data from multiple tables A) Joins employees and departments on dept_id and id
C) A command to merge two databases B) Joins employees and departments without any
D) A way to create a new table condition
✅ Answer: B) A way to retrieve data from multiple C) Merges the two tables into one
tables D) Deletes employees from departments
✅ Answer: A) Joins employees and departments on
2. What is the default JOIN type in MySQL if not dept_id and id
specified?
A) INNER JOIN 7. How do you perform a RIGHT JOIN in MySQL?
B) LEFT JOIN A) JOIN table2 ON table1.column = table2.column;
C) RIGHT JOIN B) RIGHT JOIN table2 ON table1.column =
D) FULL JOIN table2.column;
✅ Answer: A) INNER JOIN C) LEFT JOIN table2 ON table1.column = table2.column;
D) OUTER JOIN table2 ON table1.column =
3. Which JOIN returns all records from the left table table2.column;
and the matching records from the right table? ✅ Answer: B) RIGHT JOIN table2 ON table1.column =
A) INNER JOIN table2.column;
B) LEFT JOIN
C) RIGHT JOIN 8. Which JOIN type is best when you need all records
D) FULL JOIN from two tables, even if they don't match?
✅ Answer: B) LEFT JOIN A) INNER JOIN
B) LEFT JOIN
C) FULL OUTER JOIN
D) CROSS JOIN D) Employees with NULL salaries
✅ Answer: C) FULL OUTER JOIN ✅ Answer: A) Employees with above-average salaries
SELECT department, COUNT(*) FROM employees 28. What does this SQL query do?
GROUP BY department; SELECT department, COUNT(*) AS total_employees
A) Counts employees in each department FROM employees
B) Lists employees from each department
C) Deletes employees by department GROUP BY department
D) Updates employees by department
✅ Answer: A) Counts employees in each department HAVING total_employees > 10;
23. Can the WHERE clause be used with GROUP BY? A) Displays departments where the number of
A) Yes employees is greater than 10
B) No B) Lists all employees in departments
C) Only with COUNT() C) Deletes departments with more than 10 employees
D) Only with SUM() D) Groups employees by department without filtering
✅ Answer: A) Yes ✅ Answer: A) Displays departments where the
number of employees is greater than 10
24. How do you filter grouped data?
A) Using WHERE 29. What is the difference between UNION and
B) Using HAVING UNION ALL?
C) Using ORDER BY A) UNION removes duplicates, UNION ALL keeps
D) Using LIMIT duplicates
✅ Answer: B) Using HAVING B) UNION ALL removes duplicates, UNION keeps
duplicates
25. What does this SQL query do? C) Both remove duplicates
D) Both keep duplicates
SELECT department, AVG(salary) FROM employees ✅ Answer: A) UNION removes duplicates, UNION ALL
GROUP BY department HAVING AVG(salary) > 50000; keeps duplicates
A) Lists departments where the average salary is 30. What does this SQL query return?
greater than 50,000
B) Lists employees earning more than 50,000 SELECT department, MAX(salary) FROM employees
C) Deletes employees earning less than 50,000 GROUP BY department;
D) Updates salaries to 50,000
A) The highest salary in each department
B) The lowest salary in each department
C) The average salary in each department D) Connects to Wi-Fi automatically
D) The total salary in each department ✅ Answer: A) Identifies a device on a network
✅ Answer: A) The highest salary in each department
7. What is the role of a gateway in a network?
1. Local Networks - Basics A) Provides wireless access
B) Connects two different networks
1. What is the main purpose of a Local Area Network C) Blocks all incoming network traffic
(LAN)? D) Increases the speed of the network
A) To connect devices within a limited area ✅ Answer: B) Connects two different networks
B) To connect multiple countries
C) To connect only wireless devices 8. Which of the following represents a valid private IP
D) To create a personal email server address?
✅ Answer: A) To connect devices within a limited area A) 8.8.8.8
B) 172.16.0.1
2. Which device is primarily used to connect C) 192.168.1.1
computers in a wired LAN? D) Both B and C
A) Router ✅ Answer: D) Both B and C
B) Hub
C) Switch 9. What is the main purpose of a subnet mask?
D) Modem A) To divide a network into smaller parts
✅ Answer: C) Switch B) To increase network speed
C) To block incoming connections
3. What type of network is commonly used in a small D) To provide a backup connection
office or home? ✅ Answer: A) To divide a network into smaller parts
A) WAN
B) LAN 10. Which network device directs data from one
C) MAN network to another?
D) PAN A) Switch
✅ Answer: B) LAN B) Router
C) Hub
4. What is the function of a router in a local network? D) Access Point
A) To assign IP addresses to devices ✅ Answer: B) Router
B) To forward data between different networks
C) To create a wireless access point 3. Home Networks and Wi-Fi
D) All of the above
✅ Answer: D) All of the above 11. What does Wi-Fi stand for?
A) Wireless Frequency
5. How do Ethernet networks communicate? B) Wireless Fidelity
A) Through radio signals C) Wide Function Interface
B) Using fiber-optic cables only D) Wide Frequency Interference
C) By transmitting data packets through cables ✅ Answer: B) Wireless Fidelity
D) By sending signals through satellites
✅ Answer: C) By transmitting data packets through 12. Which wireless security protocol is the most
cables secure?
A) WEP
2. Network Communication and Routing B) WPA
C) WPA2
6. What does an IP address do? D) Open Network
A) Identifies a device on a network ✅ Answer: C) WPA2
B) Encrypts network traffic
C) Speeds up network connections 13. What is an SSID in Wi-Fi networks?
A) A type of Wi-Fi password
B) The name of a Wi-Fi network 20. Which of the following is an example of a search
C) A network security key engine?
D) A type of IP address A) Gmail
✅ Answer: B) The name of a Wi-Fi network B) Google
C) Microsoft Edge
14. Which device is responsible for providing wireless D) Outlook
access in a home network? ✅ Answer: B) Google
A) Hub
B) Modem 5. Domain Name System (DNS) and Email
C) Access Point Communication
D) Firewall
✅ Answer: C) Access Point 21. What does DNS stand for?
A) Domain Naming System
15. Which frequency bands are commonly used for B) Digital Network System
Wi-Fi? C) Data Network Service
A) 900 MHz D) Direct Naming Server
B) 2.4 GHz and 5 GHz ✅ Answer: A) Domain Naming System
C) 1.5 GHz
D) 7 GHz 22. What is the function of DNS?
✅ Answer: B) 2.4 GHz and 5 GHz A) Converts IP addresses into domain names
B) Blocks unwanted websites
4. Internet Concepts C) Encrypts emails
D) Increases internet speed
16. What does WWW stand for? ✅ Answer: A) Converts IP addresses into domain
A) World Wide Web names
B) Wireless Web Work
C) Web Wide Work 23. Which protocol is used for sending emails?
D) World Web Wireless A) IMAP
✅ Answer: A) World Wide Web B) SMTP
C) POP3
17. What is the purpose of a web browser? D) HTTP
A) To connect to the internet ✅ Answer: B) SMTP
B) To display web pages
C) To send emails 24. Which protocol is used for receiving emails?
D) To create websites A) SMTP
✅ Answer: B) To display web pages B) HTTP
C) POP3
18. Which of the following is NOT a web browser? D) FTP
A) Google Chrome ✅ Answer: C) POP3
B) Mozilla Firefox
C) Microsoft Word 25. What is the purpose of an email client?
D) Safari A) To manage and send emails
✅ Answer: C) Microsoft Word B) To browse websites
C) To encrypt internet traffic
19. What is a search engine? D) To provide network security
A) A software that indexes web pages ✅ Answer: A) To manage and send emails
B) A tool for creating web pages
C) A method to send emails 6. Video Chatting & Social Networking
D) A web-based email client
✅ Answer: A) A software that indexes web pages 26. Which of the following is an example of a video
chatting tool?
A) Facebook
B) Skype 3. What does MAN stand for?
C) Twitter A) Metropolitan Area Network
D) Instagram B) Main Access Network
✅ Answer: B) Skype C) Multi-Application Network
D) Machine Automated Network
27. What is a social networking site? ✅ Answer: A) Metropolitan Area Network
A) A platform for interacting with others online
B) A tool for website development 4. What does PAN stand for?
C) A type of web server A) Private Area Network
D) A private messaging service B) Public Access Network
✅ Answer: A) A platform for interacting with others C) Personal Area Network
online D) Protected Automated Network
✅ Answer: C) Personal Area Network
28. Which of the following is an example of a social
networking platform? 5. What does IP stand for in networking?
A) Google Drive A) Internet Program
B) LinkedIn B) Interconnect Protocol
C) Dropbox C) Internet Protocol
D) Windows Explorer D) Internal Processing
✅ Answer: B) LinkedIn ✅ Answer: C) Internet Protocol
3. Home Networks and Wi-Fi 18. What does HTTPS stand for?
A) HyperText Transfer Protocol Secure
11. What does SSID stand for? B) High-Tech Transmission Processing System
A) Secure System Identification C) Host Technology Transfer Secure
B) Service Set Identifier D) Hyper Transfer Text Processing System
C) Shared System ID ✅ Answer: A) HyperText Transfer Protocol Secure
D) Server Security ID
✅ Answer: B) Service Set Identifier 19. What does FTP stand for?
A) Fast Transfer Protocol
12. What does Wi-Fi stand for? B) File Transfer Protocol
A) Wireless Fidelity C) Fixed Transmission Path
B) Wide Frequency Interface D) File Tracking Process
C) Web Internet Functionality ✅ Answer: B) File Transfer Protocol
D) Wireless Interconnect Facility
✅ Answer: A) Wireless Fidelity 20. What does VPN stand for?
A) Virtual Private Network
13. What does WEP stand for? B) Virtual Public Node
A) Wireless Encrypted Protocol C) Verified Protocol Networking
B) Wired Equivalent Privacy D) Variable Private Network
C) Wireless Ethernet Protection ✅ Answer: A) Virtual Private Network
D) Web Encryption Protocol
✅ Answer: B) Wired Equivalent Privacy 5. Domain Name System (DNS) and Email
Communication
14. What does WPA stand for?
A) Wireless Protocol Access 21. What does SMTP stand for?
B) Web Process Automation A) Simple Mail Transfer Protocol
C) Wi-Fi Protected Access B) Secure Mail Transmission Protocol
D) Wide Personal Authentication C) Systematic Message Transfer Process
✅ Answer: C) Wi-Fi Protected Access D) Server Mail Transfer Packet
✅ Answer: A) Simple Mail Transfer Protocol
15. What does ISP stand for?
A) Internet System Provider 22. What does IMAP stand for?
B) Internal Security Process A) Internet Messaging Application Protocol
C) Internet Service Provider B) Instant Mail Access Protocol
D) Interconnected Signal Processing C) Internet Mail Access Protocol
✅ Answer: C) Internet Service Provider D) Interconnected Messaging Access Protocol
✅ Answer: C) Internet Mail Access Protocol
4. Internet Concepts
23. What does POP3 stand for?
16. What does WWW stand for? A) Post Office Protocol 3
A) Wide Web Window B) Packet Ordered Process
B) World Wide Web C) Public Oriented Packet
C) Wireless Web Work D) Personal Online Process
D) Web Wide Work ✅ Answer: A) Post Office Protocol 3
✅ Answer: B) World Wide Web
24. What does URL stand for? 1. What does HTML stand for?
A) Universal Resource Locator A) HyperText Markup Language
B) Unique Routing Link B) High-Level Text Language
C) Uniform Retrieval Link C) HyperText Managing Layout
D) Unified Resource Log D) Home Tool Markup Language
✅ Answer: A) Universal Resource Locator ✅ Answer: A) HyperText Markup Language
25. What does HTML stand for? 2. What is the main difference between Static and
A) HyperText Markup Language Dynamic web pages?
B) High-Tech Messaging Language A) Static pages change automatically, Dynamic pages
C) Host Transfer Markup Link do not
D) Hyperlink Text Managing Logic B) Static pages do not change without manual updates,
✅ Answer: A) HyperText Markup Language Dynamic pages change based on user input and data
C) Both are the same
6. Video Chatting & Social Networking D) Dynamic pages are always more secure
26. What does VoIP stand for? ✅ Answer: B) Static pages do not change without
A) Voice over Internet Protocol manual updates, Dynamic pages change based on
B) Virtual Online Interactive Platform user input and data
C) Verified Optical Internet Process 3. What does PHP stand for?
D) Video Online Integrated Processing A) Personal Home Page
✅ Answer: A) Voice over Internet Protocol B) Hypertext Preprocessor
27. What does SMS stand for? C) Private Hosting Protocol
A) Secure Messaging System D) Page Hosting Program
B) Short Message Service ✅ Answer: B) Hypertext Preprocessor
C) Social Media System 4. Which of the following is a dynamic web
D) Smart Mail Service technology?
✅ Answer: B) Short Message Service A) HTML
28. What does MMS stand for? B) CSS
A) Multimedia Messaging Service C) JavaScript
B) Mass Messaging System D) JPG
C) Mobile Mail Service ✅ Answer: C) JavaScript
D) Multi-Mail Sending 5. Which scripting language is commonly used for
✅ Answer: A) Multimedia Messaging Service server-side web development?
29. What does 4G stand for? A) JavaScript
A) Fourth Generation B) Python
B) Fourth Gateway C) PHP
C) Fast Global D) HTML
D) Forward Generation ✅ Answer: C) PHP
✅ Answer: A) Fourth Generation 2. Introduction to HTML and Various Tags
30. What does LTE stand for? 6. What is the function of the <title> tag in HTML?
A) Long-Term Evolution A) Sets the main heading of the page
B) Local Transmission Encoding B) Defines the title of the document shown in the
C) Linked Technology Exchange browser tab
D) Large Technology Enhancement C) Creates a paragraph
✅ Answer: A) Long-Term Evolution D) Adds a hyperlink
1. Concepts of Static and Dynamic Web Pages ✅ Answer: B) Defines the title of the document shown
in the browser tab
7. What does <br> tag do in HTML? 14. What does <select> tag do?
A) Creates a bold text A) Creates a table
B) Breaks a line B) Creates a drop-down list
C) Adds a bullet point C) Creates a text box
D) Italicizes the text D) Links an external CSS file
✅ Answer: B) Breaks a line ✅ Answer: B) Creates a drop-down list
8. Which HTML tag is used to create a hyperlink? 15. What does the <textarea> tag do?
A) <link> A) Adds a paragraph
B) <a> B) Creates a larger text input field
C) <href> C) Creates an image
D) <url> D) Formats the webpage
✅ Answer: B) <a> ✅ Answer: B) Creates a larger text input field
9. What does the <img> tag do? 4. Concepts of CSS and Applying CSS to HTML
A) Inserts an image
B) Makes text italic 16. What does CSS stand for?
C) Changes font size A) Color Style Sheet
D) Creates a table B) Cascading Style Sheet
✅ Answer: A) Inserts an image C) Creative Style System
D) Computer Styling System
10. What attribute is used in the <img> tag to specify ✅ Answer: B) Cascading Style Sheet
the image location?
A) src 17. How do you apply an external CSS file to an HTML
B) href document?
C) path A) <css> tag
D) link B) <style> tag
✅ Answer: A) src C) <link> tag
D) <script> tag
3. Controls Used in Web Pages ✅ Answer: C) <link> tag
11. What does the <input> tag do in HTML? 18. What is the correct syntax to change the
A) Adds an image background color of a page to blue in CSS?
B) Accepts user input A) background-color: blue;
C) Displays a heading B) color-background: blue;
D) Creates a paragraph C) bg-color: blue;
✅ Answer: B) Accepts user input D) background:color blue;
✅ Answer: A) background-color: blue;
12. What does the <form> tag do?
A) Formats text 19. Which CSS property is used to change text color?
B) Creates a form for user input A) text-color
C) Adds a frame B) font-color
D) Adds a footer C) color
✅ Answer: B) Creates a form for user input D) text-style
✅ Answer: C) color
13. Which attribute is used to specify the type of
input in <input> tags? 20. What is the purpose of the float property in CSS?
A) value A) Adds animation
B) type B) Positions an element to the left or right
C) name C) Adds shadows
D) class D) Changes text color
✅ Answer: B) type ✅ Answer: B) Positions an element to the left or right
5. Open Source CMS and Web Authoring Tools 28. What is the correct way to create a hyperlink in
HTML?
21. What does CMS stand for? A) <hyperlink url="URL"> Click Here </hyperlink>
A) Content Management System B) <a link="URL"> Click Here </a>
B) Central Media System C) <a href="URL"> Click Here </a>
C) Creative Marketing Service D) <link url="URL"> Click Here </link>
D) Cloud Management System ✅ Answer: C) <a href="URL"> Click Here </a>
✅ Answer: A) Content Management System
29. How do you comment in HTML?
22. Which of the following is an example of an open- A) // This is a comment
source CMS? B) /* This is a comment */
A) Joomla C) <!-- This is a comment -->
B) Microsoft Word D) { This is a comment }
C) Photoshop ✅ Answer: C) <!-- This is a comment -->
D) Notepad++
✅ Answer: A) Joomla 30. How do you comment in CSS?
A) // This is a comment
23. What is WordPress primarily used for? B) /* This is a CSS comment */
A) Web Hosting C) <!-- This is a comment -->
B) Web Development and Blogging D) { This is a comment }
C) Graphic Design ✅ Answer: B) /* This is a CSS comment */
D) Video Editing
✅ Answer: B) Web Development and Blogging HTML Basics and Advanced Concepts
24. What does SEO stand for in web design? 31. Which HTML tag is used to create an ordered list?
A) Search Engine Optimization A) <ul>
B) Site Editing Operations B) <ol>
C) Server Execution Output C) <li>
D) System Enhancement Option D) <list>
✅ Answer: A) Search Engine Optimization ✅ Answer: B) <ol>
25. Which tool is NOT used for web design? 32. Which HTML attribute is used to specify an
A) Kompozer alternate text for an image, if the image cannot be
B) Front Page displayed?
C) Photoshop A) title
D) Excel B) src
✅ Answer: D) Excel C) alt
D) href
26. How can you make a text bold in HTML? ✅ Answer: C) alt
A) <strong> Text </strong>
B) <b> Text </b> 33. What does the <thead> tag do in an HTML table?
C) <bold> Text </bold> A) Defines the table footer
D) <strong-b> Text </strong-b> B) Groups the header content in a table
✅ Answer: B) <b> Text </b> C) Merges table cells
D) Creates a new table
27. Which property in CSS changes the font size? ✅ Answer: B) Groups the header content in a table
A) text-size
B) font-style 34. Which HTML element is used for the largest
C) font-size heading?
D) text-font A) <h6>
✅ Answer: C) font-size B) <h1>
C) <head>
D) <header> JavaScript and Web Interactivity
✅ Answer: B) <h1>
41. What does JavaScript primarily do in web
35. What is the correct way to insert a background development?
image in CSS? A) Structures the webpage
A) background: image("background.jpg"); B) Styles the webpage
B) background-image: url("background.jpg"); C) Adds interactivity to the webpage
C) bg-image: ("background.jpg"); D) Creates databases
D) image-url: ("background.jpg"); ✅ Answer: C) Adds interactivity to the webpage
✅ Answer: B) background-image:
url("background.jpg"); 42. How do you write a JavaScript function?
A) function myFunction() { }
CSS Properties and Styling B) def myFunction() { }
C) func myFunction() { }
36. Which CSS property is used to set the text D) function: myFunction() { }
alignment? ✅ Answer: A) function myFunction() { }
A) align
B) text-align 43. What keyword is used to declare a variable in
C) text-style JavaScript?
D) text-position A) var
✅ Answer: B) text-align B) let
C) const
37. How do you apply a class to an HTML element in D) All of the above
CSS? ✅ Answer: D) All of the above
A) #classname {}
B) .classname {} 44. How do you display a message box in JavaScript?
C) classname {} A) alert("Hello!");
D) &classname {} B) msgbox("Hello!");
✅ Answer: B) .classname {} C) message("Hello!");
D) popup("Hello!");
38. What does the z-index property in CSS control? ✅ Answer: A) alert("Hello!");
A) Transparency of elements
B) Background color of an element 45. How do you select an HTML element using
C) Positioning of overlapping elements JavaScript?
D) The font weight of a text A) document.querySelector("#id");
✅ Answer: C) Positioning of overlapping elements B) document.getElement("#id");
C) select("#id");
39. Which CSS property makes text italic? D) getElement("#id");
A) font-weight: bold; ✅ Answer: A) document.querySelector("#id");
B) text-style: italic;
C) font-style: italic; Open Source CMS and Web Development Tools
D) italicize: true;
✅ Answer: C) font-style: italic; 46. Which CMS is known for its flexibility and is
widely used for blogging?
40. Which CSS property controls the space between A) Joomla
lines of text? B) WordPress
A) letter-spacing C) Drupal
B) line-height D) Magento
C) text-indent ✅ Answer: B) WordPress
D) spacing
✅ Answer: B) line-height 47. What is the primary language used for WordPress
development?
A) JavaScript B) Java
B) Python C) ECMAScript
C) PHP D) C++
D) Ruby ✅ Answer: C) ECMAScript
✅ Answer: C) PHP
3. JavaScript is primarily used for:
48. What does FTP stand for in web hosting? A) Styling web pages
A) File Transfer Protocol B) Structuring web content
B) Fast Text Processing C) Adding interactivity to web pages
C) File Transmission Program D) Managing databases
D) File Text Protocol ✅ Answer: C) Adding interactivity to web pages
✅ Answer: A) File Transfer Protocol
4. Which of the following is NOT a JavaScript feature?
49. What does SEO stand for in web development? A) Client-side execution
A) System Enhancement Optimization B) Interpreted language
B) Search Engine Optimization C) Static typing
C) Server Execution Order D) Object-oriented capabilities
D) Secure Environment Online ✅ Answer: C) Static typing
✅ Answer: B) Search Engine Optimization
5. What is the full form of DOM?
50. Which tool is commonly used to inspect and A) Document Object Model
debug websites? B) Data Object Manager
A) Notepad++ C) Document Order Mechanism
B) Photoshop D) Data Optimization Model
C) Browser Developer Tools ✅ Answer: A) Document Object Model
D) MS Paint
✅ Answer: C) Browser Developer Tools 2. JavaScript Basics – Data Types, Variables, Constants
Summary of Topics Covered in These MCQs 6. Which of the following is a primitive data type in
JavaScript?
✔ HTML Basics – Lists, tags, attributes, headings, A) Object
images, tables B) Function
✔ CSS Properties – Styling, colors, fonts, spacing, C) String
alignments D) Array
✔ JavaScript Basics – Functions, variables, event ✅ Answer: C) String
handling
✔ Web Development Tools – CMS, SEO, FTP, 7. What is the correct syntax for declaring a variable
debugging in JavaScript?
✔ Full Forms – HTML, CSS, PHP, CMS, SEO, FTP A) var x;
B) let x;
1. Introduction to JavaScript and Programming C) const x;
Concepts D) All of the above
✅ Answer: D) All of the above
1. What type of language is JavaScript?
A) Markup Language 8. What is the purpose of typeof operator in
B) Programming Language JavaScript?
C) Styling Language A) Declares a new type
D) Database Query Language B) Determines the data type of a variable
✅ Answer: B) Programming Language C) Converts a variable to another type
D) Removes a variable from memory
2. Which scripting language is JavaScript based on? ✅ Answer: B) Determines the data type of a variable
A) Python
9. How do you define a constant variable in 4. Control Statements and Loops
JavaScript?
A) var PI = 3.14; 16. Which keyword is used for a conditional
B) let PI = 3.14; statement in JavaScript?
C) const PI = 3.14; A) if
D) final PI = 3.14; B) switch
✅ Answer: C) const PI = 3.14; C) else
D) All of the above
10. What is the full form of JSON in JavaScript? ✅ Answer: D) All of the above
A) JavaScript Object Notation
B) Java Standard Object Naming 17. Which loop is used when the number of iterations
C) Java Syntax Oriented Network is known beforehand?
D) Java System Object Naming A) while
✅ Answer: A) JavaScript Object Notation B) do-while
C) for
3. Operators and Expressions D) foreach
✅ Answer: C) for
11. Which operator is used for string concatenation?
A) + 18. How do you break out of a loop in JavaScript?
B) - A) exit;
C) * B) break;
D) & C) stop;
✅ Answer: A) + D) continue;
✅ Answer: B) break;
12. What is the output of 5 + "5" in JavaScript?
A) 10
B) 55
C) Error 5. JavaScript Arrays and Strings
D) NaN 19. How do you create an array in JavaScript?
✅ Answer: B) 55 A) let arr = {};
13. What does the === operator check in JavaScript? B) let arr = [];
A) Only value comparison C) let arr = ();
B) Only type comparison D) let arr = "";
C) Value and type comparison ✅ Answer: B) let arr = [];
D) None of the above 20. Which function finds the length of a string in
✅ Answer: C) Value and type comparison JavaScript?
14. What is the result of true && false? A) size()
A) true B) length()
B) false C) length
C) null D) count()
D) undefined ✅ Answer: C) length
✅ Answer: B) false 6. JavaScript Functions
15. What is the precedence of operators in JavaScript? 21. How do you define a function in JavaScript?
A) Multiplication before addition A) function myFunc() {}
B) Addition before multiplication B) def myFunc() {}
C) Equal priority for all C) func myFunc() {}
D) Random execution D) declare function myFunc() {}
✅ Answer: A) Multiplication before addition ✅ Answer: A) function myFunc() {}
22. What keyword is used to return a value from a 28. How do you create an object in JavaScript?
function? A) let obj = {};
A) return B) let obj = [];
B) break C) let obj = new Object();
C) exit D) Both A and C
D) stop ✅ Answer: D) Both A and C
✅ Answer: A) return
29. What is the full form of JSON?
7. Pop-up Boxes and User Interaction A) Java Standard Object Notation
B) Java Syntax Oriented Network
23. Which function creates an alert box in JavaScript? C) JavaScript Object Notation
A) alert() D) Java System Object Naming
B) prompt() ✅ Answer: C) JavaScript Object Notation
C) confirm()
D) message() 30. How do you access an object property in
✅ Answer: A) alert() JavaScript?
A) object[property]
24. How do you capture user input in JavaScript? B) object.property
A) alert() C) object->property
B) prompt() D) Both A and B
C) console.log() ✅ Answer: D) Both A and B
D) getInput()
✅ Answer: B) prompt() 31. Which method is used to convert an object into a
JSON string?
A) JSON.parse()
8. JavaScript and Web Development B) JSON.stringify()
C) JSON.convert()
25. What is the purpose of the setTimeout function? D) JSON.toString()
A) Executes a function after a delay ✅ Answer: B) JSON.stringify()`
B) Runs a function continuously
C) Stops script execution 10. JavaScript Events and Handling User Input
D) None of the above 32. What is an event in JavaScript?
✅ Answer: A) Executes a function after a delay A) A function call
26. Which JavaScript function allows animations? B) A user interaction like a click or key press
A) animate() C) A built-in method
B) setInterval() D) A CSS property
C) runAnimation() ✅ Answer: B) A user interaction like a click or key
D) startAnimation() press
✅ Answer: B) setInterval() 33. Which event is triggered when a user clicks a
9. JavaScript Objects and Document Object Model button?
(DOM) A) mouseover
B) onhover
27. What is an object in JavaScript? C) onclick
A) A collection of values stored in an ordered list D) onpress
B) A collection of properties and methods ✅ Answer: C) onclick
C) A special type of array
D) A function that returns a value 34. How do you attach an event handler in JavaScript?
✅ Answer: B) A collection of properties and methods A) element.addEventListener("click", functionName);
B) element.onClick(functionName);
C) element.attachEvent("click", functionName);
D) element.eventClick(functionName); ✅ Answer: A) Executes a function after a specified
✅ Answer: A) element.addEventListener("click", delay
functionName);
41. Which function is used to execute code repeatedly
35. What is the purpose of preventDefault() in after a fixed time interval?
JavaScript? A) setTimeout()
A) Stops the browser from executing JavaScript B) setInterval()
B) Prevents an event from executing its default C) repeatFunction()
behavior D) runEvery()
C) Hides the default webpage content ✅ Answer: B) setInterval()
D) Clears all events on the page
✅ Answer: B) Prevents an event from executing its 42. What is a callback function in JavaScript?
default behavior A) A function that runs immediately
B) A function passed as an argument to another
11. JavaScript Error Handling and Debugging function
C) A function that loops indefinitely
36. How do you handle errors in JavaScript? D) A function that stops the program execution
A) Using if-else ✅ Answer: B) A function passed as an argument to
B) Using try-catch another function
C) Using throw
D) Both B and C 13. JavaScript Closures and Scope
✅ Answer: D) Both B and C
43. What is a closure in JavaScript?
37. What is the full form of AJAX? A) A function that runs only once
A) Asynchronous Java And XML B) A function that has access to its parent function's
B) Advanced JavaScript And XHTML variables even after the parent function has finished
C) Asynchronous JavaScript And XML executing
D) Automated Java And XML C) A function with no parameters
✅ Answer: C) Asynchronous JavaScript And XML D) A function that is declared inside another function
✅ Answer: B) A function that has access to its parent
38. What does the console.log() function do? function's variables even after the parent function has
A) Displays output in the console finished executing
B) Writes output to an alert box
C) Redirects the page to another URL 44. What is the difference between let, var, and
D) Saves data to local storage const?
✅ Answer: A) Displays output in the console A) var is function-scoped, let and const are block-
scoped
39. What will happen if you call B) var can be reassigned, let can be reassigned, const
console.log(undefinedVariable);? cannot
A) null C) let and const were introduced in ES6
B) undefined D) All of the above
C) ReferenceError ✅ Answer: D) All of the above
D) SyntaxError
✅ Answer: C) ReferenceError 14. JavaScript and the Web
12. JavaScript Timers and Asynchronous Programming 45. What is the full form of URL?
A) Uniform Resource Locator
40. What does setTimeout() do in JavaScript? B) Universal Remote Link
A) Executes a function after a specified delay C) Uniform Router Link
B) Runs a function repeatedly D) Unstructured Resource Locator
C) Stops a function from executing ✅ Answer: A) Uniform Resource Locator
D) None of the above
46. What does localStorage in JavaScript do? 2. What is the shortcut to open a new Excel
A) Stores data on the client-side permanently workbook?
B) Stores data on the server temporarily A) Ctrl + O
C) Stores cookies B) Ctrl + N
D) Encrypts user data C) Alt + N
✅ Answer: A) Stores data on the client-side D) Shift + N
permanently ✅ Answer: B) Ctrl + N
47. Which JavaScript API is used for fetching data 3. How can you merge multiple cells in Excel?
from the server? A) Select the cells and press Ctrl + M
A) fetch() B) Select the cells and click on "Merge & Center"
B) getData() C) Right-click and select "Merge Cells"
C) httpRequest() D) Both B and C
D) loadData() ✅ Answer: D) Both B and C
✅ Answer: A) fetch()
4. What is the shortcut to apply bold formatting in
15. JavaScript Frameworks and Libraries Excel?
A) Ctrl + B
48. Which JavaScript library is used for DOM B) Alt + B
manipulation? C) Shift + B
A) React.js D) Ctrl + F
B) jQuery ✅ Answer: A) Ctrl + B
C) Vue.js
D) Angular 5. What is the shortcut to print an Excel sheet?
✅ Answer: B) jQuery A) Ctrl + P
B) Ctrl + Shift + P
49. What is the purpose of Node.js? C) Alt + P
A) A runtime environment for executing JavaScript D) Ctrl + Shift + S
outside the browser ✅ Answer: A) Ctrl + P
B) A front-end library for building UIs
C) A database system 2. Excel Lookup and Reference Functions
D) A styling framework
✅ Answer: A) A runtime environment for executing 6. What is the full form of VLOOKUP?
JavaScript outside the browser A) Vertical Lookup
B) Value Lookup
50. What does npm stand for in JavaScript? C) Verified Lookup
A) Node Package Manager D) Variable Lookup
B) Network Protocol Module ✅ Answer: A) Vertical Lookup
C) New Programming Model
D) Native Package Manager 7. What is the full form of HLOOKUP?
✅ Answer: A) Node Package Manager A) Horizontal Lookup
B) Hybrid Lookup
1. Basic Excel Concepts and Formatting C) High-Level Lookup
D) Hyper Lookup
1. What is the default number of rows in an Excel ✅ Answer: A) Horizontal Lookup
worksheet?
A) 10,48,576 8. What is the purpose of the VLOOKUP function?
B) 1,048,576 A) Searches for a value in the first column of a range
C) 1,000,000 and returns a value from another column
D) 65,536 B) Searches for a value in a row and returns its position
✅ Answer: B) 1,048,576 C) Counts the number of matching values in a dataset
D) Finds the maximum value in a range
✅ Answer: A) Searches for a value in the first column 4. Pivot Tables and Charts
of a range and returns a value from another column
15. What is the main purpose of a Pivot Table?
9. What does the MATCH function do? A) To create charts in Excel
A) Matches values in two different sheets B) To perform advanced calculations and summarize
B) Returns the position of a value in a range data
C) Replaces a value in a dataset C) To import data from other sources
D) Finds the largest value in a range D) To generate random numbers
✅ Answer: B) Returns the position of a value in a ✅ Answer: B) To perform advanced calculations and
range summarize data
10. What is the difference between INDEX and MATCH 16. What is a Pivot Chart used for?
functions? A) Creating dynamic charts based on Pivot Table data
A) INDEX returns a value, MATCH returns a position B) Importing data from another workbook
B) MATCH returns a value, INDEX returns a position C) Formatting an Excel worksheet
C) Both return the same result D) Printing multiple pages in Excel
D) They cannot be used together ✅ Answer: A) Creating dynamic charts based on Pivot
✅ Answer: A) INDEX returns a value, MATCH returns a Table data
position
17. Which tab contains the Pivot Table option in
3. Cell References, Naming, and Protection Excel?
A) Home
11. What is an absolute cell reference in Excel? B) Insert
A) A reference that changes when copied C) View
B) A reference that remains constant when copied D) Data
C) A reference that links to another workbook ✅ Answer: B) Insert
D) A reference that applies a formula to multiple cells
✅ Answer: B) A reference that remains constant when 5. Conditional Formatting and Data Analysis
copied
18. What does Conditional Formatting do?
12. How do you make a cell reference absolute? A) Automatically applies formatting based on cell
A) Use a # symbol before the cell name values
B) Use a $ symbol before the row and column B) Changes the font size of the entire sheet
C) Use an @ symbol C) Creates charts based on conditions
D) Use a % symbol D) Filters data in tables
✅ Answer: B) Use a $ symbol before the row and ✅ Answer: A) Automatically applies formatting based
column on cell values
13. What is the purpose of cell protection in Excel? 19. What is the shortcut for Conditional Formatting?
A) Prevents accidental editing of formulas and data A) Alt + O + D
B) Allows linking between sheets B) Alt + H + L
C) Enables automatic formatting C) Ctrl + Shift + C
D) Speeds up calculations D) Alt + H + F
✅ Answer: A) Prevents accidental editing of formulas ✅ Answer: B) Alt + H + L
and data
20. What is the full form of SUMIF?
14. What is the full form of VBA in Excel? A) Sum If Condition Met
A) Visual Basic for Applications B) Sum Integrated Function
B) Virtual Basic Application C) Selective Utility Method Integrated Function
C) Visual Basic Analysis D) Summation Interactive Formula
D) Verified Basic Application ✅ Answer: A) Sum If Condition Met
✅ Answer: A) Visual Basic for Applications
6. Power Queries and Advanced Excel Features D) Shift + F5
✅ Answer: A) Alt + H + O + I
21. What is Power Query used for?
A) Importing, transforming, and cleaning data 28. What is the purpose of the TEXT function in Excel?
B) Creating charts in Excel
C) Performing complex calculations A) Converts a number to text with formatting
D) Formatting worksheets B) Converts text to numbers
✅ Answer: A) Importing, transforming, and cleaning C) Splits text into multiple columns
data D) Joins multiple text values
✅ Answer: A) Converts a number to text with
22. How can you refresh a Power Query? formatting
A) Press F5
B) Right-click and select "Refresh" 29. What does the CONCATENATE function do?
C) Use Ctrl + R A) Splits text into different columns
D) Click on "Insert" tab B) Combines multiple text values into one
✅ Answer: B) Right-click and select "Refresh" C) Converts numbers into text
23. What is the full form of CSV? D) Removes extra spaces from text
A) Comma Separated Values ✅ Answer: B) Combines multiple text values into one
B) Common Spreadsheet Version 30. What is the purpose of the IFERROR function?
C) Calculated Sum Value
D) Centralized System Value A) Displays a custom message if a formula results in an
✅ Answer: A) Comma Separated Values error
B) Hides errors in Excel formulas
7. Excel Tips and Tricks C) Checks for errors in a worksheet
24. What is the shortcut to insert a new worksheet? D) Shows only the correct results without errors
A) Shift + F11 ✅ Answer: A) Displays a custom message if a formula
B) Ctrl + Shift + N results in an error
C) Alt + N 1. Introduction to E-Commerce
D) Ctrl + W
✅ Answer: A) Shift + F11 1. What does E-Commerce stand for?
A) Secure online transactions 23. What does API stand for in E-Commerce
B) Speed up website performance integration?
C) Improve search engine ranking A) Application Programming Interface
D) Block advertisements B) Automated Product Integration
✅ Answer: A) Secure online transactions C) Advanced Payment Information
18. What is the full form of HTTPS? D) Authorized Product Identifier
✅ Answer: A) Application Programming Interface
A) HyperText Transfer Protocol Secure
B) High Transmission Technology System 24. What is Dropshipping?
C) Hyper Transfer Text Security A) A business model where the retailer does not keep
D) Hybrid Technical Processing System inventory
✅ Answer: A) HyperText Transfer Protocol Secure B) A method of instant product delivery
19. What is a strong way to secure customer data in E- C) A way to return damaged goods
Commerce? D) A customer payment processing system
✅ Answer: A) A business model where the retailer
A) Using simple passwords does not keep inventory
B) Implementing SSL encryption
C) Allowing open data access 25. What does ERP stand for in E-Commerce business
D) Avoiding customer registration management?
✅ Answer: B) Implementing SSL encryption A) Enterprise Resource Planning
20. What does PCI DSS stand for in online payment B) Electronic Retail Process
security? C) E-Commerce Reporting Platform
D) Enhanced Retail Performance
A) Payment Card Industry Data Security Standard ✅ Answer: A) Enterprise Resource Planning
B) Personal Computer Internet Data Safety System
C) Public Cybersecurity Information Data Safety System 6. Future of E-Commerce & Trends
D) Payment Collection and Identification Digital 26. What is AI’s role in E-Commerce?
Security System
✅ Answer: A) Payment Card Industry Data Security A) Personalizing customer experiences
Standard B) Slowing down website performance
C) Increasing shipping costs
5. E-Commerce Logistics & Operations D) Reducing product quality
21. What does SKU stand for in online inventory ✅ Answer: A) Personalizing customer experiences
management? 27. What is the full form of IoT in E-Commerce?
A) Internet of Things C) System Security Lock
B) Information of Transactions D) Safe Server Link
C) Interconnection of Technology ✅ Answer: A) Secure Sockets Layer
D) International Online Trade
✅ Answer: A) Internet of Things 4. What is the purpose of HTTPS in web security?
28. What is the role of Chatbots in E-Commerce? A) Encrypts communication between the browser and
the server
A) Providing customer support B) Reduces website loading time
B) Processing online payments C) Blocks unwanted advertisements
C) Storing product data D) Increases the internet speed
D) Managing logistics ✅ Answer: A) Encrypts communication between the
✅ Answer: A) Providing customer support browser and the server
A) Selling products through social media platforms A) A potential danger to an information system
B) A website for buying and selling second-hand goods B) A type of software update
C) A payment method for social services C) A way to increase internet speed
D) A system for tracking online ads D) A method to store passwords securely
✅ Answer: A) Selling products through social media ✅ Answer: A) A potential danger to an information
platforms system
30. What is the future trend of E-Commerce? 2. Security Threats, Vulnerabilities, and Risk
Management
A) AI-driven shopping experiences
B) Manual data entry 6. What is a vulnerability in cybersecurity?
C) Slower internet speeds
D) Higher product costs A) A weakness in a system that can be exploited
✅ Answer: A) AI-driven shopping experiences B) A strong security measure
C) A method to prevent hacking
Overview of Information Security D) A type of firewall
✅ Answer: A) A weakness in a system that can be
1. What is the primary goal of Information Security? exploited
A) Protecting data from unauthorized access 7. What is the process of identifying, assessing, and
B) Improving computer performance reducing risk in cybersecurity called?
C) Reducing software costs
D) Enhancing internet speed A) Risk Management
✅ Answer: A) Protecting data from unauthorized B) Threat Identification
access C) Hacking
D) Cybercrime
2. What is the full form of CIA in cybersecurity? ✅ Answer: A) Risk Management
A) Confidentiality, Integrity, Availability 8. What does MFA stand for in security?
B) Cyber Information Analysis
C) Computer Internet Access A) Multi-Factor Authentication
D) Communication, Information, Authorization B) Managed Firewall Access
✅ Answer: A) Confidentiality, Integrity, Availability C) Mobile Firewall Authorization
D) Mainframe File Access
3. What does SSL stand for in cybersecurity? ✅ Answer: A) Multi-Factor Authentication
A) Secure Sockets Layer 9. What is the purpose of a Firewall?
B) Security Software License
A) To monitor and control incoming and outgoing B) To delete files permanently
network traffic C) To increase storage space
B) To increase internet speed D) To optimize internet speed
C) To detect software updates ✅ Answer: A) To protect data by converting it into
D) To store encryption keys unreadable code
✅ Answer: A) To monitor and control incoming and
outgoing network traffic 15. What is the full form of VPN?
10. What does the term "Phishing" refer to? A) Virtual Private Network
B) Verified Public Node
A) A type of cyber attack that tricks users into revealing C) Virtual Protection Network
personal information D) Virtual Personal Number
B) A method of improving network security ✅ Answer: A) Virtual Private Network
C) A software update technique
D) A way to encrypt passwords 4. Audit and Security in Cybersecurity
✅ Answer: A) A type of cyber attack that tricks users 16. What is an Intrusion Detection System (IDS)?
into revealing personal information
A) A system that detects unauthorized access attempts
3. Directory Services, Access Control, and Privacy B) A tool to speed up computers
Protection C) A method of password storage
11. What is Access Control in cybersecurity? D) A technique to block advertisements
✅ Answer: A) A system that detects unauthorized
A) Restricting unauthorized users from accessing access attempts
resources
B) A method of data encryption 17. What is the purpose of an Audit Log in
C) A tool to improve Wi-Fi speed cybersecurity?
D) A type of hacking technique A) To record security-related events and activities
✅ Answer: A) Restricting unauthorized users from B) To delete old user accounts
accessing resources C) To improve internet speed
12. What does LDAP stand for in directory services? D) To store multimedia files
✅ Answer: A) To record security-related events and
A) Lightweight Directory Access Protocol activities
B) Large Data Authentication Process
C) Local Device Access Protection 18. What is the purpose of Digital Signatures?
D) Linked Digital Access Protocol A) To authenticate the identity of a sender
✅ Answer: A) Lightweight Directory Access Protocol B) To store passwords
13. What is Two-Factor Authentication (2FA)? C) To improve internet security
D) To detect malware
A) A security method requiring two forms of ✅ Answer: A) To authenticate the identity of a sender
identification
B) A way to store passwords in a database 19. What is Social Engineering in cybersecurity?
C) A type of hacking attack A) Manipulating people into sharing confidential
D) A firewall protection method information
✅ Answer: A) A security method requiring two forms B) A way to protect data
of identification C) A type of software security update
14. What is the main purpose of Encryption? D) A data encryption method
✅ Answer: A) Manipulating people into sharing
A) To protect data by converting it into unreadable confidential information
code
20. What is a Zero-Day Attack?
A) An attack that exploits unknown security ✅ Answer: A) Computer Emergency Response Team –
vulnerabilities India
B) A type of firewall
C) A new cybersecurity law 6. Cybersecurity Awareness and Best Practices
D) A type of antivirus software 26. What is the best way to create a strong password?
✅ Answer: A) An attack that exploits unknown
security vulnerabilities A) Using a mix of letters, numbers, and special
characters
5. IT Act and Cybercrime Penalties B) Using only numbers
21. What does IT Act stand for? C) Using your name as a password
D) Using simple words
A) Information Technology Act ✅ Answer: A) Using a mix of letters, numbers, and
B) Internet Transaction Act special characters
C) International Technology Agreement
D) Indian Telecom Act Cyber Security MCQs – Theory & Practical
✅ Answer: A) Information Technology Act 1. Overview of Cybersecurity
22. When was the IT Act introduced in India? 1. What is the main objective of Cybersecurity?
A) 2000 A) Prevent unauthorized access to data
B) 1995 B) Increase computer performance
C) 2010 C) Improve software efficiency
D) 2005 D) Reduce internet cost
✅ Answer: A) 2000 ✅ Answer: A) Prevent unauthorized access to data
23. What is Cybercrime? 2. What does the term "Malware" stand for?
A) Any criminal activity involving computers or the A) Malicious Software
internet B) Machine Learning Software
B) A method of protecting user data C) Mainframe Security
C) A legal cybersecurity framework D) Multi-Application Logware
D) A software update process ✅ Answer: A) Malicious Software
✅ Answer: A) Any criminal activity involving
computers or the internet 3. What is the full form of DDoS?
24. What is the punishment for hacking under the IT A) Distributed Denial of Service
Act? B) Data Deployment over System
C) Direct Denial of System
A) Imprisonment up to 3 years and/or a fine D) Digital Data Over Security
B) No punishment ✅ Answer: A) Distributed Denial of Service
C) A warning notice only
D) 10 years of imprisonment 4. What does the acronym "IDS" stand for in
✅ Answer: A) Imprisonment up to 3 years and/or a Cybersecurity?
fine
A) Intrusion Detection System
25. What does CERT-In stand for? B) Internet Defense System
C) Internal Data Security
A) Computer Emergency Response Team – India D) Information Data Shield
B) Cybersecurity Emergency Research Team – India ✅ Answer: A) Intrusion Detection System
C) Computer Encrypted Research Task – India
D) Cyber Education Response Team – India 5. What is a Zero-Day Exploit?
A) A cyber attack targeting a previously unknown D) A type of VPN technology
vulnerability ✅ Answer: A) Manipulating people to obtain
B) A method of recovering lost data confidential information
C) A type of firewall
D) A software update mechanism 3. Network Security & Authentication
✅ Answer: A) A cyber attack targeting a previously 11. What does VPN stand for?
unknown vulnerability
A) Virtual Private Network
2. Cyber Threats & Attacks B) Verified Protection Node
6. What is Phishing? C) Virtual Processing Network
D) Virus Protection Network
A) A technique used to trick users into providing ✅ Answer: A) Virtual Private Network
sensitive information
B) A type of database security measure 12. What is an example of Multi-Factor
C) A method of encrypting passwords Authentication (MFA)?
D) A system of blocking spam emails A) A password and a fingerprint scan
✅ Answer: A) A technique used to trick users into B) A single password
providing sensitive information C) A username only
7. What is a Trojan Horse in cybersecurity? D) Just a PIN code
✅ Answer: A) A password and a fingerprint scan
A) A malicious program disguised as legitimate
software 13. What is the purpose of a Firewall?
B) A type of firewall A) To prevent unauthorized access to a network
C) A method of encryption B) To improve internet speed
D) A way to remove malware C) To detect viruses on a computer
✅ Answer: A) A malicious program disguised as D) To increase storage space
legitimate software ✅ Answer: A) To prevent unauthorized access to a
8. What is Spyware? network
A) A software that secretly gathers user information 14. What is WPA2 used for?
B) A type of VPN A) Securing Wi-Fi networks
C) A secure login method B) Encrypting email messages
D) A technique to remove malware C) Preventing malware attacks
✅ Answer: A) A software that secretly gathers user D) Improving internet speed
information ✅ Answer: A) Securing Wi-Fi networks
9. What does SQL Injection attack target? 15. What does HTTPS stand for?
A) Databases A) HyperText Transfer Protocol Secure
B) Firewalls B) High Transfer Processing System
C) Wi-Fi networks C) Hyper Terminal Protection Service
D) Operating Systems D) Host Traffic Protocol System
✅ Answer: A) Databases ✅ Answer: A) HyperText Transfer Protocol Secure
10. What is Social Engineering? 4. Cybercrime & Legal Aspects
A) Manipulating people to obtain confidential 16. What does the IT Act, 2000 deal with?
information
B) A type of network encryption A) Cybercrime and digital transactions
C) A cybersecurity framework B) Network optimization techniques
C) Wireless communication protocols A) To detect and remove malicious software
D) Internet speed enhancement B) To increase internet speed
✅ Answer: A) Cybercrime and digital transactions C) To store files securely
D) To block unwanted emails
17. What is the punishment for cyberstalking under IT ✅ Answer: A) To detect and remove malicious
Act, 2000? software
A) 3 years of imprisonment and/or a fine 23. What is the safest way to browse the internet?
B) No punishment
C) Life imprisonment A) Using HTTPS websites and a VPN
D) 10 years of imprisonment B) Clicking on all links in emails
✅ Answer: A) 3 years of imprisonment and/or a fine C) Disabling firewall protection
D) Using public Wi-Fi without a VPN
18. What is Digital Signature? ✅ Answer: A) Using HTTPS websites and a VPN
A) An electronic method of verifying the authenticity of 24. What is a Botnet?
a document
B) A technique to encrypt email messages A) A network of infected computers controlled by a
C) A method of increasing internet speed hacker
D) A type of malware B) A type of firewall
✅ Answer: A) An electronic method of verifying the C) A government cybersecurity agency
authenticity of a document D) A password management tool
✅ Answer: A) A network of infected computers
19. What does CERT-In stand for? controlled by a hacker
A) Computer Emergency Response Team – India 25. What is Two-Factor Authentication (2FA)?
B) Cyber Education Response Training – India
C) Computer Electronic Risk Team – India A) A security process requiring two types of
D) Cyber Expert Research Team – India verification
✅ Answer: A) Computer Emergency Response Team – B) A method of encrypting passwords
India C) A single-step login process
D) A way to bypass password protection
20. What does GDPR stand for? ✅ Answer: A) A security process requiring two types of
A) General Data Protection Regulation verification
B) Global Digital Privacy Rights 6. Emerging Cyber Threats
C) Government Data Protection Rules
D) General Database Processing Regulations Here are questions 26-30 with full explanations, full
✅ Answer: A) General Data Protection Regulation forms, and answers on Emerging Cyber Threats:
21. What is the safest way to create a strong A) A cyber attack that locks user data until a ransom is
password? paid
B) A method of data recovery
A) Using a mix of uppercase, lowercase, numbers, and C) A type of firewall
symbols D) A secure payment system
B) Using only numbers ✅ Answer: A) A cyber attack that locks user data until
C) Using personal information a ransom is paid
D) Using a simple word 📌 Explanation: Ransomware is a type of malware that
✅ Answer: A) Using a mix of uppercase, lowercase, encrypts files and demands a ransom to restore
numbers, and symbols access.
22. What is the purpose of an Antivirus?
27. What does MITM stand for in cybersecurity? Section 1: Introduction to Cloud Computing (15
MCQs)
A) Man In The Middle (Attack)
B) Malware Injection Through Monitoring 1. What is Cloud Computing?
C) Multi-Integrated Threat Management
D) Managed Information Tracking Method A) A technology that allows users to access computing
✅ Answer: A) Man In The Middle (Attack) resources over the internet
📌 Explanation: A Man-In-The-Middle (MITM) attack is B) A type of physical storage device
when an attacker secretly intercepts and relays C) A method of software installation
communication between two parties without their D) A new programming language
knowledge. ✅ Answer: A) A technology that allows users to access
computing resources over the internet
28. What is a Rootkit in cybersecurity?
📌 Explanation: Cloud computing provides on-demand
A) A stealthy malware that hides its presence on a computing services over the internet, allowing users
system to access data and applications remotely.
B) A type of antivirus program
C) A tool used to remove ransomware 2. What are the three main service models in cloud
D) A security update for operating systems computing?
✅ Answer: A) A stealthy malware that hides its A) SaaS, PaaS, IaaS
presence on a system B) LAN, WAN, MAN
📌 Explanation: Rootkits are a type of malware C) URL, HTTP, FTP
designed to provide unauthorized access while D) SSD, HDD, USB
remaining hidden from security software. ✅ Answer: A) SaaS, PaaS, IaaS
29. What is Ethical Hacking? 📌 Full Form:
A) Authorized testing of security vulnerabilities SaaS – Software as a Service
B) Hacking government systems
C) A way to bypass security controls PaaS – Platform as a Service
D) Illegally accessing data
IaaS – Infrastructure as a Service
✅ Answer: A) Authorized testing of security
vulnerabilities 3. Which of the following is a benefit of Cloud
📌 Explanation: Ethical hacking, also known as Computing?
penetration testing, involves testing a system’s
security with permission to find and fix A) Scalability
vulnerabilities. B) Increased hardware cost
C) Limited accessibility
30. What is a Keylogger? D) High dependency on physical storage
✅ Answer: A) Scalability
A) A program that records keystrokes to steal
information 📌 Explanation: Cloud computing allows scalability,
B) A security tool to encrypt passwords meaning users can increase or decrease resources
C) A type of firewall based on demand.
D) A device used for biometric authentication
✅ Answer: A) A program that records keystrokes to 4. What is the full form of AWS?
steal information
A) Amazon Web Services
📌 Explanation: Keyloggers are used by attackers to
B) Advanced Web Security
capture everything typed on a keyboard, often to
C) Automated Web System
steal passwords or sensitive data.
D) Artificial Website Software
✅ Answer: A) Amazon Web Services
📌 Explanation: AWS is one of the leading cloud service 📌 Explanation: Cloud providers charge based on
providers, offering various cloud-based solutions. usage, allowing businesses to optimize costs.
5. What is the purpose of Virtualization in cloud 9. What is the main purpose of Cloud Storage?
computing?
A) To store and manage data remotely
A) To create multiple virtual machines on a single B) To increase physical storage needs
physical server C) To reduce network security
B) To increase the cost of hardware D) To limit access to data
C) To limit accessibility of applications ✅ Answer: A) To store and manage data remotely
D) To prevent data storage in the cloud
✅ Answer: A) To create multiple virtual machines on a 📌 Explanation: Cloud storage provides remote access
single physical server to data from anywhere with an internet connection.
7. Which cloud model allows resources to be shared (These will include more practical aspects, security
between multiple organizations? concerns, and real-world applications)
📌 Explanation: The Testing phase ensures that the 📌 Explanation: A Cloud Service Provider (CSP) is a
application functions correctly and is free from bugs. company that provides cloud computing services,
such as AWS, Google Cloud, and Microsoft Azure.
20. What is the final phase of the Application
Development Life Cycle? 14. What is a Hybrid Cloud?
16. What is an SLA in Cloud Computing? 20. What is the full form of VPN in networking and
cloud computing?
A) Service Level Agreement
B) Software License Agreement A) Virtual Private Network
C) Security Layer Access B) Virtual Public Network
D) System Link Analysis C) Verified Personal Network
✅ Answer: A) Service Level Agreement D) Visual Private Node
✅ Answer: A) Virtual Private Network
📌 Explanation: An SLA (Service Level Agreement)
defines the terms and conditions of cloud services, 📌 Explanation: A VPN (Virtual Private Network)
including uptime, security, and performance encrypts internet connections to ensure secure and
guarantees. private communication over public networks.
17. What is the full form of CDN? Section 2: Application Development Life Cycle
(Continued) (10 MCQs)
A) Content Delivery Network
B) Cloud Data Node 21. What is the Waterfall Model in SDLC?
C) Computer Development Network
D) Centralized Data Network A) A linear and sequential development model
✅ Answer: A) Content Delivery Network B) A flexible and iterative development process
C) A database storage method
📌 Explanation: A CDN (Content Delivery Network) is a D) A type of software testing
distributed network of servers that helps deliver web ✅ Answer: A) A linear and sequential development
content faster by caching copies of data at multiple model
locations.
📌 Explanation: The Waterfall Model is a step-by-step
18. Which of the following is NOT a cloud deployment software development process, where each phase is
model? completed before moving to the next.
19. Which cloud computing service model provides 📌 Explanation: Agile Development involves
virtual machines, storage, and networking? continuous iterations, feedback, and flexibility,
making it suitable for fast-changing projects.
A) IaaS (Infrastructure as a Service)
B) SaaS (Software as a Service) 23. What is DevOps?
C) PaaS (Platform as a Service)
D) DBaaS (Database as a Service) A) A collaboration between development and
✅ Answer: A) IaaS (Infrastructure as a Service) operations teams
B) A programming language
C) A type of cloud computing model
D) A project management framework
✅ Answer: A) A collaboration between development D) To create software from scratch
and operations teams ✅ Answer: A) To update, fix, and improve software
after deployment
📌 Full Form: DevOps – Development and Operations
📌 Explanation: Software Maintenance ensures that
📌 Explanation: DevOps improves collaboration the software remains secure, efficient, and up-to-date
between software developers and IT operations to after deployment.
enhance continuous development and deployment.
28. Which phase comes before the Deployment phase
24. What is the purpose of Software Testing? in SDLC?
A) To identify and fix errors before deployment A) Testing
B) To reduce software features B) Planning
C) To develop new software features C) Design
D) To perform data encryption D) Maintenance
✅ Answer: A) To identify and fix errors before ✅ Answer: A) Testing
deployment
📌 Explanation: Testing ensures that the software is
📌 Explanation: Software Testing helps find and correct free of defects before final deployment.
bugs, security vulnerabilities, and performance issues
before deployment. 29. What is CI/CD in DevOps?
📌 Explanation: The input() function always returns a 📌 Explanation: The correct syntax is if condition:
string. without parentheses or braces.
12. What is the result of 5//2? 17. Which loop is used when the number of iterations
is unknown?
A) 2.5
B) 2 A) for loop
C) 3 B) while loop
D) 5 C) do-while loop
✅ Answer: B) 2 D) None
✅ Answer: B) while loop
📌 Explanation: The // operator is used for floor
division. 📌 Explanation: while loops run until a condition is
False.
13. What does the len() function return?
18. What will break do in a loop?
A) Number of elements in a list
B) Length of a string A) Skip the next iteration
C) Number of keys in a dictionary B) Exit the loop immediately
D) All of the above C) Restart the loop
✅ Answer: D) All of the above D) Continue execution
✅ Answer: B) Exit the loop immediately
📌 Explanation: len() returns the length of lists, strings,
and dictionaries. 📌 Explanation: break terminates the loop.
14. What will be the output of bool(0)? 19. What is the output of range(5)?
A) True A) [1, 2, 3, 4, 5]
B) False B) [0, 1, 2, 3, 4]
✅ Answer: B) False C) (0, 1, 2, 3, 4, 5)
D) (1, 2, 3, 4)
📌 Explanation: In Python, 0, None, "", [], {} return ✅ Answer: B) [0, 1, 2, 3, 4]
False, while all other values return True.
📌 Explanation: range(n) starts from 0 and goes up to
15. What is the correct syntax to create a dictionary? n-1.
A) d = {1, 2, 3} 20. How do you iterate through a list in Python?
B) d = (1: "one", 2: "two")
C) d = {"one": 1, "two": 2} A) for i in range(list):
D) d = [1: "one", 2: "two"] B) for i in list:
✅ Answer: C) d = {"one": 1, "two": 2} C) foreach i in list:
D) loop i in list:
📌 Explanation: A dictionary is written using curly ✅ Answer: B) for i in list:
braces {} with key-value pairs.
📌 Explanation: The for loop is used to iterate over a
Section 3: Conditional Statements & Loops (10 MCQs) list.
16. What is the correct syntax for an if statement in Section 4: Functions in Python (10 MCQs)
Python?
21. What is a function in Python? C) A function that runs in a loop
D) A function without parameters
A) A block of code that performs a specific task ✅ Answer: B) A function that calls itself
B) A built-in Python library
C) A loop structure 📌 Explanation: A recursive function calls itself within
D) A class in Python its definition.
✅ Answer: A) A block of code that performs a specific
task 26. What is the output of the following?
def add(x, y=10): 27. What is the correct way to call a function stored in
a module?
return x + y
A) module.function()
print(add(5)) B) function.module()
C) call module.function()
A) 5 D) use module(function)
B) 10 ✅ Answer: A) module.function()
C) 15
D) Error 📌 Explanation: The syntax for calling a function from a
✅ Answer: C) 15 module is module.function().
📌 Explanation: The default value of y is 10, so add(5) 28. What will happen if a function does not have a
returns 5 + 10 = 15. return statement?
📌 Explanation: return is used to send a value back 29. What is the correct syntax for a lambda function?
from a function.
A) lambda x, y: x + y
25. What is a recursive function? B) def lambda(x, y): x + y
C) lambda(x, y) = x + y
A) A function that calls another function D) lambda = x, y: x + y
B) A function that calls itself ✅ Answer: A) lambda x, y: x + y
📌 Explanation: A lambda function is a short, 34. How do you open a file for reading in Python?
anonymous function.
A) open("file.txt", "r")
30. What is the difference between *args and kwargs B) open("file.txt", "w")
in a function? C) open("file.txt", "a")
D) open("file.txt", "x")
A) *args takes variable-length positional arguments, ✅ Answer: A) open("file.txt", "r")
**kwargs takes variable-length keyword arguments
B) *args takes one argument, **kwargs takes two 📌 Explanation: "r" mode opens a file for reading.
C) *args and **kwargs are the same
D) *args is required, **kwargs is optional 35. How do you read the entire contents of a file in
✅ **Answer: A) *args takes variable-length positional Python?
arguments, kwargs takes variable-length keyword A) readfile()
arguments B) read()
📌 Explanation: C) file_read()
D) readAll()
*args = unlimited positional arguments ✅ Answer: B) read()
**kwargs = unlimited keyword arguments 📌 Explanation: The read() method reads an entire
file’s content.
Section 5: Strings and File Handling (10 MCQs)
Section 6: Object-Oriented Programming (10 MCQs)
31. Which function is used to convert a string to
uppercase? 36. What is a class in Python?
A) toUpperCase() A) A function
B) upper() B) A blueprint for objects
C) capitalize() C) A built-in module
D) makeUpper() D) A loop structure
✅ Answer: B) upper() ✅ Answer: B) A blueprint for objects
📌 Explanation: upper() converts all characters in a 📌 Explanation: A class is a blueprint for creating
string to uppercase. objects.
32. What is the output of len("Python")? 37. How do you define a class in Python?
A) 5 A) class ClassName():
B) 6 B) def ClassName():
C) 7 C) create ClassName():
D) Error D) new ClassName():
✅ Answer: B) 6 ✅ Answer: A) class ClassName():
📌 Explanation: "Python" contains 6 characters. 📌 Explanation: The class keyword is used to define a
class.
33. Which operator is used for string concatenation?
38. What is an instance of a class called?
A) +
B) * A) Class
C) & B) Object
D) | C) Function
✅ Answer: A) + D) Method
✅ Answer: B) Object
📌 Explanation: "Hello" + "World" results in
"HelloWorld". 📌 Explanation: An object is an instance of a class.
39. What is self in Python? 📌 Explanation: The except block catches the
ZeroDivisionError and prevents the program from
A) A variable name crashing.
B) A reference to the current instance of a class
C) A function 43. Which keyword is used to handle exceptions in
D) A built-in method Python?
✅ Answer: B) A reference to the current instance of a
class A) error
B) exception
📌 Explanation: self refers to the current instance of a C) try
class. D) throw
✅ Answer: C) try
40. How do you create an object of a class?
📌 Explanation: The try block is used to handle
A) obj = new ClassName() exceptions in Python.
B) obj = ClassName()
C) obj = create ClassName() 44. What is the use of the finally block in exception
D) obj = ClassName.new() handling?
✅ Answer: B) obj = ClassName()
A) It runs only if an exception occurs
📌 Explanation: In Python, objects are created using B) It runs only if no exception occurs
ClassName(). C) It always runs, whether an exception occurs or not
D) It stops execution if an error is found
Section 7: Error Handling (5 MCQs) ✅ Answer: C) It always runs, whether an exception
41. What is the purpose of exception handling in occurs or not
Python? 📌 Explanation: The finally block always executes after
A) To ignore errors try-except, whether an error occurs or not.
B) To handle runtime errors and prevent program 45. What will the following code output?
crashes
C) To terminate the program immediately try:
D) To fix syntax errors automatically
✅ Answer: B) To handle runtime errors and prevent x = int("abc")
program crashes except ValueError:
📌 Explanation: Exception handling helps manage print("Invalid conversion")
errors using try-except blocks.
A) abc
42. What will be the output of the following code? B) 0
try: C) Invalid conversion
D) Error
print(10 / 0) ✅ Answer: C) Invalid conversion
A) use module_name
B) include module_name
C) import module_name
D) fetch module_name
✅ Answer: C) import module_name
A) list()
B) dir()
C) help()
D) show()
✅ Answer: B) dir()