Question
Question
Which protocol is used for transferring web pages over the internet?
OPTION A) FTP
OPTION B) HTTP
OPTION C) TCP/IP
OPTION D) SMTP
Answer: OPTION B) HTTP
OPTION A) Linux
OPTION B) Windows
OPTION C) Python
OPTION D) macOS
Answer: OPTION C) Python
OPTION A) Assembly
OPTION B) C++
OPTION C) Machine Code
OPTION D) Binary Code
Answer: OPTION B) C++
OPTION A) 2myVar
OPTION B) _myVar
OPTION C) my-Var
OPTION D) MyVar@123
Answer: OPTION B) _myVar
OPTION A) Integer
OPTION B) Boolean
OPTION C) String
OPTION D) Char
Answer: OPTION B) Boolean
OPTION A) print()
OPTION B) output()
OPTION C) echo()
OPTION D) show()
Answer: OPTION A) print()
OPTION A) HTML
OPTION B) CSS
OPTION C) JavaScript
OPTION D) Python
Answer: OPTION B) CSS
OPTION A) Java
OPTION B) PHP
OPTION C) JavaScript
OPTION D) SQL
Answer: OPTION C) JavaScript
OPTION A) <link>
OPTION B) <a>
OPTION C) <h1>
OPTION D) <href>
Answer: OPTION B) <a>
Which of the following HTML tags is used to create a table?
OPTION A) <table>
OPTION B) <form>
OPTION C) <div>
OPTION D) <header>
Answer: OPTION A) <table>
OPTION A) Router
OPTION B) Switch
OPTION C) Firewall
OPTION D) Hub
Answer: OPTION C) Firewall
OPTION A) HTTP
OPTION B) FTP
OPTION C) SMTP
OPTION D) IMAP
Answer: OPTION C) SMTP
Which of the following is a type of attack where the attacker intercepts and alters
communication between two parties?
Section 5: Databases
OPTION A) MongoDB
OPTION B) MySQL
OPTION C) Firebase
OPTION D) Cassandra
Answer: OPTION B) MySQL
OPTION A) GET
OPTION B) SELECT
OPTION C) FETCH
OPTION D) PULL
Answer: OPTION B) SELECT
Which of the following is used to store and manage data in a structured format?
OPTION A) Cache
OPTION B) Database
OPTION C) File system
OPTION D) Memory
Answer: OPTION B) Database
OPTION A) 443
OPTION B) 80
OPTION C) 21
OPTION D) 8080
Answer: OPTION B) 80
OPTION A) Oracle
OPTION B) PostgreSQL
OPTION C) MongoDB
OPTION D) SQL Server
Answer: OPTION C) MongoDB
OPTION A) FAT32
OPTION B) NTFS
OPTION C) ext4
OPTION D) HFS
Answer: OPTION B) NTFS
OPTION A) ls
OPTION B) list
OPTION C) dir
OPTION D) show
Answer: OPTION A) ls
Which of the following is a Linux command used to change the current directory?
OPTION A) mkdir
OPTION B) cd
OPTION C) ls
OPTION D) rm
Answer: OPTION B) cd
OPTION A) MS-DOS
OPTION B) Ubuntu
OPTION C) UNIX
OPTION D) All of the above
Answer: OPTION B) Ubuntu
What is the time complexity of searching for an element in a binary search tree
(BST)?
OPTION A) O(n)
OPTION B) O(log n)
OPTION C) O(n log n)
OPTION D) O(1)
Answer: OPTION B) O(log n)
What is the output of the following code (if the array is sorteOPTION D)?
python
Copy code
arr = [1, 3, 5, 7, 9]
binary_search(arr, 5)
OPTION A) True
OPTION B) 2
OPTION C) 5
OPTION D) None
Answer: OPTION B) 2
Which of the following algorithms is based on the divide and conquer technique?
OPTION A) Merge Sort
OPTION B) Selection Sort
OPTION C) Bubble Sort
OPTION D) Linear Search
Answer: OPTION A) Merge Sort
Which of the following data structures can be used to implement a priority queue?
OPTION A) Array
OPTION B) Binary Heap
OPTION C) Stack
OPTION D) Linked List
Answer: OPTION B) Binary Heap
Which service model in cloud computing provides infrastructure like servers and
storage?
OPTION A) IaaS
OPTION B) PaaS
OPTION C) SaaS
OPTION D) DaaS
Answer: OPTION A) IaaS
Which of the following cloud models is a combination of private and public clouds?
OPTION A) Hybrid Cloud
OPTION B) Community Cloud
OPTION C) Private Cloud
OPTION D) Public Cloud
Answer: OPTION A) Hybrid Cloud
What is the primary advantage of using cloud-based storage over traditional local
storage?
OPTION A) Increased cost
OPTION B) Limited access
OPTION C) Scalability and remote access
OPTION D) More complex management
Answer: OPTION C) Scalability and remote access
Which tool is commonly used for continuous integration (CI) in a DevOps pipeline?
OPTION A) Jenkins
OPTION B) MySQL
OPTION C) VMware
OPTION D) Docker
Answer: OPTION A) Jenkins
Which of the following is a popular Python library used for machine learning?
OPTION A) Matplotlib
OPTION B) NumPy
OPTION C) Pandas
OPTION D) Scikit-learn
Answer: OPTION D) Scikit-learn
Which type of neural network is most commonly used for image recognition?
OPTION A) Recurrent Neural Network (RNN)
OPTION B) Convolutional Neural Network (CNN)
OPTION C) Support Vector Machine (SVM)
OPTION D) K-means clustering
Answer: OPTION B) Convolutional Neural Network (CNN)
What is the term used to describe the process of improving a machine learning
model’s performance by providing additional data?
OPTION A) Regularization
OPTION B) Cross-validation
OPTION C) Data augmentation
OPTION D) Hyperparameter tuning
Answer: OPTION C) Data augmentation
In the context of mobile development, what does the term "responsive design" refer
to?
OPTION A) Design that adjusts to different screen sizes and resolutions
OPTION B) A design that is static and does not change
OPTION C) Design that works only on a specific mobile operating system
OPTION D) Design that requires constant updates
Answer: OPTION A) Design that adjusts to different screen sizes and resolutions
Which of the following is the primary language used for iOS app development?
OPTION A) JavaScript
OPTION B) Swift
OPTION C) Kotlin
OPTION D) Objective-C
Answer: OPTION B) Swift
Which of the following is the key difference between a native and hybrid mobile
app?
OPTION A) Native apps are written in web languages, hybrid apps are written in
platform-specific languages.
OPTION B) Native apps run on mobile devices, hybrid apps run in web browsers.
OPTION C) Native apps can access device hardware directly, hybrid apps rely on web
technologies.
OPTION D) There is no difference.
Answer: OPTION C) Native apps can access device hardware directly, hybrid apps rely
on web technologies.
Which testing type focuses on the usability of the software for end users?
OPTION A) Regression testing
OPTION B) User acceptance testing (UAT)
OPTION C) Unit testing
OPTION D) Functional testing
Answer: OPTION B) User acceptance testing (UAT)
Which of the following is the first phase in the software testing life cycle?
OPTION A) Test Execution
OPTION B) Test Planning
OPTION C) Test Design
OPTION D) Test Closure
Answer: OPTION B) Test Planning
Which of the following SQL statements is used to retrieve data from a database?
OPTION A) INSERT
OPTION B) SELECT
OPTION C) UPDATE
OPTION D) DELETE
Answer: OPTION B) SELECT
Which of the following is the correct SQL syntax to update a record in a table?
OPTION A) UPDATE table_name SET column1 = value1 WHERE condition;
OPTION B) MODIFY table_name SET column1 = value1;
OPTION C) CHANGE table_name SET column1 = value1;
OPTION D) UPDATE column1 = value1 FROM table_name;
Answer: OPTION A) UPDATE table_name SET column1 = value1 WHERE condition;
Which of the following SQL clauses is used to filter records based on a condition?
OPTION A) ORDER BY
OPTION B) WHERE
OPTION C) GROUP BY
OPTION D) HAVING
Answer: OPTION B) WHERE
Which of the following describes the term “MapReduce” in the context of Big Data?
OPTION A) A data storage format
OPTION B) A technique for indexing large datasets
OPTION C) A programming model for processing large data sets in parallel
OPTION D) A type of database
Answer: OPTION C) A programming model for processing large data sets in parallel
Which of the following is a primary advantage of using NoSQL databases for Big
Data?
OPTION A) Relational schema support
OPTION B) Scalability and flexibility for handling unstructured data
OPTION C) Data consistency across distributed systems
OPTION D) Lack of complex queries
Answer: OPTION B) Scalability and flexibility for handling unstructured data
Which of the following cloud providers is most known for offering IaaS and PaaS
services?
OPTION A) Google Cloud Platform
OPTION B) Amazon Web Services (AWS)
OPTION C) Microsoft Azure
OPTION D) All of the above
Answer: OPTION D) All of the above
What is the primary difference between public and private cloud models?
OPTION A) Public clouds are more secure than private clouds.
OPTION B) Public clouds are owned and operated by third-party providers, while
private clouds are owned by the organization.
OPTION C) Private clouds offer more scalability than public clouds.
OPTION D) There is no difference between public and private clouds.
Answer: OPTION B) Public clouds are owned and operated by third-party providers,
while private clouds are owned by the organization.
Which of the following layers of the OSI model is responsible for end-to-end
communication?
OPTION A) Application Layer
OPTION B) Transport Layer
OPTION C) Network Layer
OPTION D) Data Link Layer
Answer: OPTION B) Transport Layer
Which of the following is used to prevent a network from being flooded with
traffic?
OPTION A) Load balancing
OPTION B) Rate limiting
OPTION C) NAT
OPTION D) DNS filtering
Answer: OPTION B) Rate limiting