0% found this document useful (0 votes)
141 views87 pages

Infosys System Engineer Exam Guide

The document contains a collection of over 300 previous year questions with solutions for the Infosys System Engineer exam, covering sections on Quantitative Aptitude, Logical Reasoning, Verbal Ability, Programming Concepts, and Database Management. Each section includes multiple-choice questions along with correct answers and explanations. The content is designed to help candidates prepare effectively for the exam.

Uploaded by

pujithamarisa14
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
141 views87 pages

Infosys System Engineer Exam Guide

The document contains a collection of over 300 previous year questions with solutions for the Infosys System Engineer exam, covering sections on Quantitative Aptitude, Logical Reasoning, Verbal Ability, Programming Concepts, and Database Management. Each section includes multiple-choice questions along with correct answers and explanations. The content is designed to help candidates prepare effectively for the exam.

Uploaded by

pujithamarisa14
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

INFOSYS SYSTEM ENGINEER

300+ PREVIOUS YEAR QUESTIONS WITH SOLUTIONS

Prepared By: Abhishek Rathor


Instagram: @code.abhii07 (SYNTAXERROR)

SECTION 1: QUANTITATIVE APTITUDE


Q1. If a train travels 120 km in 2 hours, what is its speed?

Options:

 A) 50 km/h
 B) 60 km/h ✓
 C) 70 km/h
 D) 80 km/h

Solution: Speed = Distance/Time = 120/2 = 60 km/h

Q2. What is 25% of 400?

Options:

 A) 50
 B) 75
 C) 100 ✓
 D) 125

Solution: 25% of 400 = (25/100) × 400 = 100

Q3. If 5x + 3 = 28, then x = ?

Options:

 A) 3
 B) 4
 C) 5 ✓
 D) 6

Solution: 5x + 3 = 28 → 5x = 25 → x = 5
Q4. The average of 5 numbers is 20. If one number is excluded, the average
becomes 15. What is the excluded number?

Options:

 A) 30
 B) 35
 C) 40 ✓
 D) 45

Solution: Sum of 5 numbers = 5 × 20 = 100. Sum of 4 numbers = 4 × 15 = 60. Excluded


number = 100 - 60 = 40

Q5. A man buys an article for ₹500 and sells it for ₹600. What is his profit
percentage?

Options:

 A) 10%
 B) 15%
 C) 20% ✓
 D) 25%

Solution: Profit = 600 - 500 = 100. Profit% = (100/500) × 100 = 20%

Q6. Find the next number in the series: 2, 6, 12, 20, ?

Options:

 A) 28
 B) 30 ✓
 C) 32
 D) 34

Solution: Differences: 4, 6, 8, 10. Next difference = 10, so 20 + 10 = 30

Q7. If the ratio of A:B is 3:4 and B:C is 2:3, what is A:C?

Options:
 A) 1:2 ✓
 B) 2:3
 C) 3:4
 D) 4:5

Solution: A:B = 3:4, B:C = 2:3. Making B common: A:B:C = 3:4 and 4:6, so A:C = 3:6 = 1:2

Q8. A pipe can fill a tank in 6 hours. Another pipe can empty it in 8 hours. If
both are open, how long to fill the tank?

Options:

 A) 12 hours
 B) 18 hours
 C) 24 hours ✓
 D) 30 hours

Solution: Net filling rate = 1/6 - 1/8 = 1/24 per hour. Time = 24 hours

Q9. Simple Interest on ₹1000 at 5% per annum for 2 years is?

Options:

 A) ₹50
 B) ₹100 ✓
 C) ₹150
 D) ₹200

Solution: SI = (P × R × T)/100 = (1000 × 5 × 2)/100 = ₹100

Q10. If 2^x = 32, then x = ?

Options:

 A) 3
 B) 4
 C) 5 ✓
 D) 6

Solution: 2^x = 32 = 2^5, therefore x = 5


SECTION 2: LOGICAL REASONING
Q11. If all roses are flowers and some flowers are red, which statement is
definitely true?

Options:

 A) All roses are red


 B) Some roses are red
 C) Some flowers are roses ✓
 D) All red things are flowers

Solution: From "all roses are flowers," we can conclude that some flowers must be roses.

Q12. Find the odd one out: 3, 9, 27, 81, 243, 729, 2188

Options:

 A) 243
 B) 729
 C) 2188 ✓
 D) 81

Solution: All are powers of 3 except 2188 (3^0=1, 3^1=3, 3^2=9, 3^3=27, 3^4=81, 3^5=243,
3^6=729, 3^7=2187)

Q13. If CODING is written as DPEJOH, how is MOTHER written?

Options:

 A) NPUIFS ✓
 B) NPTIFS
 C) OPUIFS
 D) NPUIFS

Solution: Each letter is shifted by +1 position. M→N, O→P, T→U, H→I, E→F, R→S

Q14. Statement: All managers are employees. Some employees are engineers.
Conclusion: Some managers are engineers.

Options:
 A) True
 B) False ✓
 C) Cannot be determined
 D) None of these

Solution: The conclusion doesn't necessarily follow from the premises.

Q15. In a certain code, FRIEND is written as HUMJTK. How is SISTER


written?

Options:

 A) UKUVGT ✓
 B) TKUTGS
 C) TJTUGS
 D) UKUTGS

Solution: Each letter is shifted by +2 positions.

Q16. What comes next in the sequence: Z, X, V, T, ?

Options:

 A) S
 B) R ✓
 C) Q
 D) P

Solution: Decreasing by 2 letters each time: Z(-2)=X, X(-2)=V, V(-2)=T, T(-2)=R

Q17. If A = 1, B = 2, C = 3... what is the value of COMPUTER?

Options:

 A) 99 ✓
 B) 100
 C) 101
 D) 102

Solution: C(3)+O(15)+M(13)+P(16)+U(21)+T(20)+E(5)+R(18) = 99
Q18. Blood Relations: A is B's sister. B is C's father. D is C's sister. How is A
related to D?

Options:

 A) Aunt ✓
 B) Sister
 C) Mother
 D) Cousin

Solution: A is B's sister, and B is C and D's father, so A is their aunt.

Q19. Direction: Ram walks 5m North, then 3m East, then 5m South. How far
is he from starting point?

Options:

 A) 2m
 B) 3m ✓
 C) 5m
 D) 8m

Solution: He ends up 3m East of his starting point.

Q20. If 5 Monday falls on 7th day of a month, what day is the 27th?

Options:

 A) Sunday ✓
 B) Monday
 C) Tuesday
 D) Wednesday

Solution: 7th is Monday, 14th is Monday, 21st is Monday, 28th is Monday. So 27th is
Sunday.

SECTION 3: VERBAL ABILITY


Q21. Choose the correct synonym for "Benevolent":

Options:
 A) Malicious
 B) Kind ✓
 C) Angry
 D) Sad

Solution: Benevolent means kind and generous.

Q22. Choose the antonym for "Abundant":

Options:

 A) Plentiful
 B) Scarce ✓
 C) Sufficient
 D) Ample

Solution: Scarce is the opposite of abundant.

Q23. Fill in the blank: She is _____ intelligent than her brother.

Options:

 A) much
 B) more ✓
 C) very
 D) most

Solution: "More" is used for comparative degree.

Q24. Choose the correctly spelled word:

Options:

 A) Accommodate ✓
 B) Accomodate
 C) Acomodate
 D) Acommodate

Solution: Accommodate has double 'c' and double 'm'.

Q25. Identify the error: "Neither of the two students are present today."
Options:

 A) Neither
 B) two students
 C) are ✓
 D) present today

Solution: "Neither" takes a singular verb, so it should be "is present" not "are present".

Q26. Choose the correct sentence:

Options:

 A) He is taller than me ✓
 B) He is taller than I
 C) He is more taller than me
 D) He is most taller than me

Solution: "Taller than me" is grammatically correct in informal usage.

Q27. What is the meaning of the idiom "A piece of cake"?

Options:

 A) Difficult task
 B) Easy task ✓
 C) Delicious food
 D) Birthday celebration

Solution: "A piece of cake" means something very easy to do.

Q28. Choose the passive voice: "The teacher teaches the students."

Options:

 A) The students are taught by the teacher ✓


 B) The students teach the teacher
 C) The teacher is taught by students
 D) The students were taught

Solution: Passive voice structure: Object + be verb + past participle + by + subject


Q29. One word substitution for "A person who loves books":

Options:

 A) Bibliophile ✓
 B) Philanthropist
 C) Narcissist
 D) Hedonist

Solution: Bibliophile means a lover of books.

Q30. Choose the correct preposition: "He is good ___ mathematics."

Options:

 A) in
 B) at ✓
 C) on
 D) with

Solution: "Good at" is the correct phrase.

SECTION 4: PROGRAMMING CONCEPTS


Q31. What is the output of: print(10 // 3) in Python?

Options:

 A) 3.33
 B) 3 ✓
 C) 4
 D) 3.0

Solution: // is floor division operator, returns integer part of division.

Q32. Which data structure uses LIFO principle?

Options:

 A) Queue
 B) Stack ✓
 C) Array
 D) Linked List

Solution: Stack follows Last In First Out (LIFO) principle.

Q33. Time complexity of Binary Search is:

Options:

 A) O(n)
 B) O(log n) ✓
 C) O(n²)
 D) O(1)

Solution: Binary search divides search space in half each time, giving O(log n).

Q34. What does SQL stand for?

Options:

 A) Structured Query Language ✓


 B) Simple Query Language
 C) Standard Query Language
 D) Sequential Query Language

Solution: SQL stands for Structured Query Language.

Q35. Which is not a programming language?

Options:

 A) Python
 B) Java
 C) HTML ✓
 D) C++

Solution: HTML is a markup language, not a programming language.

Q36. What is the size of int data type in C?

Options:
 A) 2 bytes
 B) 4 bytes ✓
 C) 8 bytes
 D) Depends on compiler

Solution: In most modern systems, int is 4 bytes (32 bits).

Q37. Which sorting algorithm is fastest on average?

Options:

 A) Bubble Sort
 B) Selection Sort
 C) Quick Sort ✓
 D) Insertion Sort

Solution: Quick Sort has average time complexity of O(n log n).

Q38. What does OOP stand for?

Options:

 A) Object Oriented Programming ✓


 B) Objective Oriented Programming
 C) Order Of Programming
 D) Object Order Programming

Solution: OOP stands for Object Oriented Programming.

Q39. Which is NOT a loop in C?

Options:

 A) for
 B) while
 C) do-while
 D) repeat-until ✓

Solution: repeat-until is not a loop in C.

Q40. What is encapsulation in OOP?


Options:

 A) Hiding implementation details ✓


 B) Creating multiple objects
 C) Inheriting properties
 D) Overloading functions

Solution: Encapsulation is wrapping data and methods together and hiding implementation
details.

SECTION 5: DATABASE MANAGEMENT


Q41. Which command is used to retrieve data from database?

Options:

 A) GET
 B) FETCH
 C) SELECT ✓
 D) RETRIEVE

Solution: SELECT statement is used to retrieve data from database.

Q42. What is primary key?

Options:

 A) A key that uniquely identifies each record ✓


 B) The first key in table
 C) A foreign key
 D) An index

Solution: Primary key uniquely identifies each record in a table.

Q43. Which is NOT a DDL command?

Options:

 A) CREATE
 B) ALTER
 C) DROP
 D) INSERT ✓
Solution: INSERT is a DML (Data Manipulation Language) command, not DDL.

Q44. What does RDBMS stand for?

Options:

 A) Relational Database Management System ✓


 B) Relative Database Management System
 C) Record Database Management System
 D) Remote Database Management System

Solution: RDBMS stands for Relational Database Management System.

Q45. Which clause is used to filter results in SQL?

Options:

 A) FILTER
 B) WHERE ✓
 C) HAVING
 D) SELECT

Solution: WHERE clause is used to filter records in SQL.

Q46. What is normalization?

Options:

 A) Organizing data to reduce redundancy ✓


 B) Creating backups
 C) Indexing tables
 D) Encrypting data

Solution: Normalization is organizing data to minimize redundancy and dependency.

Q47. Which JOIN returns all records when there is a match in either table?

Options:

 A) INNER JOIN
 B) LEFT JOIN
 C) RIGHT JOIN
 D) FULL OUTER JOIN ✓

Solution: FULL OUTER JOIN returns all records when there is a match in either left or right
table.

Q48. What is the purpose of INDEX in database?

Options:

 A) To speed up data retrieval ✓


 B) To store data
 C) To create relationships
 D) To delete data

Solution: Index is used to speed up the retrieval of data from database tables.

Q49. Which constraint ensures all values in a column are unique?

Options:

 A) PRIMARY KEY
 B) FOREIGN KEY
 C) UNIQUE ✓
 D) CHECK

Solution: UNIQUE constraint ensures all values in a column are different.

Q50. What is a transaction in database?

Options:

 A) A single operation
 B) A sequence of operations performed as a single unit ✓
 C) A table
 D) A query

Solution: Transaction is a sequence of operations performed as a single logical unit of work.

SECTION 6: NETWORKING
Q51. What does IP stand for?

Options:

 A) Internet Protocol ✓
 B) Internal Protocol
 C) Internet Process
 D) International Protocol

Solution: IP stands for Internet Protocol.

Q52. Which layer of OSI model handles routing?

Options:

 A) Physical Layer
 B) Data Link Layer
 C) Network Layer ✓
 D) Transport Layer

Solution: Network Layer (Layer 3) handles routing.

Q53. What is the range of private IP addresses (Class A)?

Options:

 A) [Link] to [Link] ✓
 B) [Link] to [Link]
 C) [Link] to [Link]
 D) [Link] to [Link]

Solution: Class A private IP range is [Link] to [Link].

Q54. What is the default port for HTTP?

Options:

 A) 21
 B) 22
 C) 80 ✓
 D) 443

Solution: HTTP uses port 80 by default.


Q55. Which protocol is used for secure communication?

Options:

 A) HTTP
 B) FTP
 C) HTTPS ✓
 D) SMTP

Solution: HTTPS (HTTP Secure) is used for secure communication.

Q56. What does DNS stand for?

Options:

 A) Domain Name System ✓


 B) Domain Network System
 C) Digital Name System
 D) Data Name System

Solution: DNS stands for Domain Name System.

Q57. Which device operates at Layer 2 of OSI model?

Options:

 A) Router
 B) Switch ✓
 C) Hub
 D) Repeater

Solution: Switch operates at Data Link Layer (Layer 2).

Q58. What is the purpose of subnet mask?

Options:

 A) To identify network and host portions of IP address ✓


 B) To encrypt data
 C) To route packets
 D) To store IP addresses
Solution: Subnet mask divides IP address into network and host portions.

Q59. Which protocol is used for email?

Options:

 A) HTTP
 B) FTP
 C) SMTP ✓
 D) TCP

Solution: SMTP (Simple Mail Transfer Protocol) is used for sending emails.

Q60. What is bandwidth?

Options:

 A) The width of cable


 B) The amount of data transmitted per unit time ✓
 C) The speed of processor
 D) The size of memory

Solution: Bandwidth is the maximum rate of data transfer across a given path.

SECTION 7: OPERATING SYSTEMS


Q61. Which is not a function of operating system?

Options:

 A) Memory Management
 B) Process Management
 C) Virus Protection ✓
 D) File Management

Solution: Virus protection is typically handled by antivirus software, not OS.

Q62. What is deadlock?

Options:
 A) When system crashes
 B) When processes wait indefinitely for resources ✓
 C) When CPU is idle
 D) When memory is full

Solution: Deadlock occurs when processes wait indefinitely for resources held by each other.

Q63. Which scheduling algorithm is non-preemptive?

Options:

 A) Round Robin
 B) FCFS ✓
 C) Priority Scheduling
 D) Multilevel Queue

Solution: First Come First Serve (FCFS) is a non-preemptive scheduling algorithm.

Q64. What is virtual memory?

Options:

 A) RAM
 B) Using disk space as extended RAM ✓
 C) ROM
 D) Cache memory

Solution: Virtual memory uses disk space to extend available RAM.

Q65. What is thrashing?

Options:

 A) High CPU utilization


 B) Excessive paging activity ✓
 C) Virus attack
 D) Memory overflow

Solution: Thrashing occurs when system spends more time paging than executing.

Q66. Which command shows running processes in Linux?


Options:

 A) ls
 B) ps ✓
 C) cd
 D) pwd

Solution: ps (process status) command displays running processes.

Q67. What is semaphore?

Options:

 A) A synchronization tool ✓
 B) A memory allocation technique
 C) A file system
 D) A network protocol

Solution: Semaphore is used for process synchronization and mutual exclusion.

Q68. What is the purpose of cache memory?

Options:

 A) Permanent storage
 B) Speed up data access ✓
 C) Backup data
 D) Virtual memory

Solution: Cache memory provides faster access to frequently used data.

Q69. Which is a multi-user operating system?

Options:

 A) MS-DOS
 B) Linux ✓
 C) Windows 95
 D) Android

Solution: Linux is a multi-user operating system.


Q70. What is context switching?

Options:

 A) Switching between applications


 B) Storing and restoring process state ✓
 C) Changing user
 D) Shutting down system

Solution: Context switching is the process of storing and restoring the state of a process.

SECTION 8: DATA STRUCTURES


Q71. Which traversal visits root node first?

Options:

 A) Inorder
 B) Preorder ✓
 C) Postorder
 D) Level order

Solution: Preorder traversal visits root first, then left subtree, then right subtree.

Q72. What is the worst-case time complexity of linear search?

Options:

 A) O(1)
 B) O(log n)
 C) O(n) ✓
 D) O(n²)

Solution: Linear search may need to check all n elements in worst case.

Q73. Which data structure is used for BFS?

Options:

 A) Stack
 B) Queue ✓
 C) Tree
 D) Graph

Solution: Breadth First Search uses Queue data structure.

Q74. What is a complete binary tree?

Options:

 A) All levels are completely filled ✓


 B) Only left subtree exists
 C) Only right subtree exists
 D) Has no children

Solution: Complete binary tree has all levels filled except possibly the last level, which is
filled from left to right.

Q75. Which has constant time insertion at beginning?

Options:

 A) Array
 B) Linked List ✓
 C) Stack
 D) Queue

Solution: Linked list can insert at beginning in O(1) time.

Q76. What is a hash collision?

Options:

 A) Two keys map to same hash value ✓


 B) Hash function fails
 C) Memory overflow
 D) Invalid key

Solution: Hash collision occurs when two different keys produce the same hash value.

Q77. Which sorting algorithm is stable?

Options:
 A) Quick Sort
 B) Heap Sort
 C) Merge Sort ✓
 D) Selection Sort

Solution: Merge Sort is a stable sorting algorithm that preserves relative order of equal
elements.

Q78. What is the height of a binary tree with n nodes (worst case)?

Options:

 A) log n
 B) n ✓
 C) n²
 D) 1

Solution: In worst case (skewed tree), height is n.

Q79. Which is NOT a type of linked list?

Options:

 A) Singly Linked List


 B) Doubly Linked List
 C) Circular Linked List
 D) Binary Linked List ✓

Solution: Binary Linked List is not a standard type of linked list.

Q80. What is the space complexity of recursive factorial?

Options:

 A) O(1)
 B) O(n) ✓
 C) O(log n)
 D) O(n²)

Solution: Recursive factorial uses O(n) space for the call stack.
SECTION 9: ALGORITHMS
Q81. Which algorithm uses divide and conquer?

Options:

 A) Bubble Sort
 B) Merge Sort ✓
 C) Selection Sort
 D) Insertion Sort

Solution: Merge Sort uses divide and conquer strategy.

Q82. What is dynamic programming?

Options:

 A) Writing dynamic code


 B) Solving problems by breaking into overlapping subproblems ✓
 C) Allocating memory dynamically
 D) Running programs dynamically

Solution: Dynamic programming solves problems by storing solutions to overlapping


subproblems.

Q83. Which algorithm is greedy?

Options:

 A) Dijkstra's shortest path ✓


 B) Merge Sort
 C) Binary Search
 D) DFS

Solution: Dijkstra's algorithm uses greedy approach to find shortest path.

Q84. What is the principle of BFS?

Options:

 A) LIFO
 B) FIFO ✓
 C) Random
 D) Priority

Solution: Breadth First Search follows FIFO (First In First Out) principle using queue.

Q85. Which is a recursive algorithm?

Options:

 A) Linear Search
 B) Tower of Hanoi ✓
 C) Bubble Sort
 D) All of the above

Solution: Tower of Hanoi is solved using recursion.

Q86. What is backtracking?

Options:

 A) Going back in code


 B) Trying all possibilities and undoing wrong choices ✓
 C) Backward traversal
 D) Reverse engineering

Solution: Backtracking tries all possibilities and backtracks when a solution path fails.

Q87. Which algorithm finds minimum spanning tree?

Options:

 A) Dijkstra's
 B) Kruskal's ✓
 C) Binary Search
 D) Quick Sort

Solution: Kruskal's algorithm finds minimum spanning tree of a graph.

Q88. What is the time complexity of accessing an element in array by index?

Options:
 A) O(1) ✓
 B) O(log n)
 C) O(n)
 D) O(n²)

Solution: Array allows constant time access to elements by index.

Q89. Which search algorithm requires sorted data?

Options:

 A) Linear Search
 B) Binary Search ✓
 C) DFS
 D) BFS

Solution: Binary Search requires data to be sorted.

Q90. What is memoization?

Options:

 A) Remembering user inputs


 B) Storing results of expensive function calls ✓
 C) Memory allocation
 D) Creating notes

Solution: Memoization stores results of function calls to avoid redundant computations.

SECTION 10: COMPUTER FUNDAMENTALS


Q91. What is the full form of CPU?

Options:

 A) Central Processing Unit ✓


 B) Computer Personal Unit
 C) Central Program Unit
 D) Computer Processing Unit

Solution: CPU stands for Central Processing Unit.


Q92. Which is a volatile memory?

Options:

 A) ROM
 B) Hard Disk
 C) RAM ✓
 D) SSD

Solution: RAM (Random Access Memory) is volatile and loses data when power is off.

Q93. What is the smallest unit of data in computer?

Options:

 A) Byte
 B) Bit ✓
 C) Nibble
 D) Word

Solution: Bit (binary digit) is the smallest unit of data, can be 0 or 1.

Q94. How many bits are in a byte?

Options:

 A) 4
 B) 8 ✓
 C) 16
 D) 32

Solution: A byte consists of 8 bits.

Q95. Which is an input device?

Options:

 A) Monitor
 B) Printer
 C) Keyboard ✓
 D) Speaker
Solution: Keyboard is an input device used to enter data.

Q96. What does GUI stand for?

Options:

 A) Graphical User Interface ✓


 B) General User Interface
 C) Graphical Unified Interface
 D) General Unified Interface

Solution: GUI stands for Graphical User Interface.

Q97. Which number system uses base 16?

Options:

 A) Binary
 B) Octal
 C) Decimal
 D) Hexadecimal ✓

Solution: Hexadecimal uses base 16 (digits 0-9 and A-F).

Q98. What is firmware?

Options:

 A) Permanent software programmed into hardware ✓


 B) Temporary software
 C) Application software
 D) System software

Solution: Firmware is permanent software programmed into read-only memory.

Q99. Which gate gives output 1 only when all inputs are 1?

Options:

 A) OR
 B) AND ✓
 C) NOT
 D) XOR

Solution: AND gate outputs 1 only when all inputs are 1.

Q100. What is clock speed measured in?

Options:

 A) Bytes
 B) Hertz ✓
 C) Watts
 D) Volts

Solution: Clock speed is measured in Hertz (cycles per second).

SECTION 11: SOFTWARE ENGINEERING


Q101. Which is NOT a phase of SDLC?

Options:

 A) Planning
 B) Design
 C) Marketing ✓
 D) Testing

Solution: Marketing is not a phase of Software Development Life Cycle.

Q102. What is waterfall model?

Options:

 A) Sequential development model ✓


 B) Iterative model
 C) Agile model
 D) Spiral model

Solution: Waterfall is a sequential software development model where phases flow


downward.
Q103. What is unit testing?

Options:

 A) Testing entire system


 B) Testing individual components ✓
 C) Testing user interface
 D) Testing database

Solution: Unit testing tests individual components or modules of software.

Q104. What does UML stand for?

Options:

 A) Unified Modeling Language ✓


 B) Universal Modeling Language
 C) Unified Management Language
 D) Universal Management Language

Solution: UML stands for Unified Modeling Language.

Q105. Which is an agile methodology?

Options:

 A) Waterfall
 B) Scrum ✓
 C) V-Model
 D) Spiral

Solution: Scrum is an agile software development methodology.

Q106. What is version control?

Options:

 A) Controlling software versions ✓


 B) Testing versions
 C) Creating versions
 D) Deleting versions

Solution: Version control manages changes to code and tracks different versions.
Q107. What is regression testing?

Options:

 A) Testing new features


 B) Re-testing after changes to ensure existing functionality works ✓
 C) Testing performance
 D) Testing security

Solution: Regression testing ensures existing functionality still works after changes.

Q108. What is a sprint in Agile?

Options:

 A) A time-boxed iteration ✓
 B) A testing phase
 C) A design phase
 D) A deployment phase

Solution: Sprint is a time-boxed iteration (typically 2-4 weeks) in Agile development.

Q109. What is black box testing?

Options:

 A) Testing without knowing internal structure ✓


 B) Testing with code access
 C) Testing in dark room
 D) Testing hardware

Solution: Black box testing focuses on functionality without knowing internal


implementation.

Q110. What is code review?

Options:

 A) Reading code for errors and improvements ✓


 B) Writing code
 C) Deleting code
 D) Compiling code

Solution: Code review is systematic examination of code by peers to find defects and
improve quality.

SECTION 12: WEB TECHNOLOGIES


Q111. What does HTML stand for?

Options:

 A) Hypertext Markup Language ✓


 B) Hypertext Machine Language
 C) Hightext Markup Language
 D) Hyperlink Markup Language

Solution: HTML stands for Hypertext Markup Language.

Q112. Which tag is used for largest heading?

Options:

 A) <h1> ✓
 B) <h6>
 C) <heading>
 D) <head>

Solution: <h1> tag creates the largest heading in HTML.

Q113. What does CSS stand for?

Options:

 A) Cascading Style Sheets ✓


 B) Creative Style Sheets
 C) Computer Style Sheets
 D) Colorful Style Sheets

Solution: CSS stands for Cascading Style Sheets.


Q114. Which is a JavaScript framework?

Options:

 A) Django
 B) React ✓
 C) Laravel
 D) Spring

Solution: React is a popular JavaScript library/framework for building UIs.

Q115. What is the purpose of <div> tag?

Options:

 A) Division/container for HTML elements ✓


 B) Create divisions in math
 C) Divide page
 D) Delete content

Solution: <div> tag is a container used to group HTML elements.

Q116. Which HTTP method is used to send data to server?

Options:

 A) GET
 B) POST ✓
 C) PUT
 D) DELETE

Solution: POST method is commonly used to send data to server.

Q117. What is AJAX?

Options:

 A) Asynchronous JavaScript and XML ✓


 B) Advanced Java and XML
 C) Asynchronous Java and XML
 D) Advanced JavaScript and XHTML

Solution: AJAX stands for Asynchronous JavaScript and XML.


Q118. Which is a backend language?

Options:

 A) HTML
 B) CSS
 C) Python ✓
 D) JavaScript (frontend)

Solution: Python is commonly used as a backend programming language.

Q119. What is Bootstrap?

Options:

 A) A CSS framework ✓
 B) A JavaScript library
 C) A database
 D) An operating system

Solution: Bootstrap is a popular CSS framework for responsive web design.

Q120. What does API stand for?

Options:

 A) Application Programming Interface ✓


 B) Advanced Programming Interface
 C) Application Process Interface
 D) Advanced Process Interface

Solution: API stands for Application Programming Interface.

SECTION 13: CLOUD COMPUTING


Q121. What is cloud computing?

Options:

 A) Computing in clouds
 B) Delivery of computing services over internet ✓
 C) Weather prediction
 D) Wireless computing

Solution: Cloud computing delivers computing services (servers, storage, databases) over the
internet.

Q122. Which is a cloud service provider?

Options:

 A) Microsoft
 B) AWS ✓
 C) Intel
 D) Cisco

Solution: AWS (Amazon Web Services) is a major cloud service provider.

Q123. What is IaaS?

Options:

 A) Infrastructure as a Service ✓
 B) Internet as a Service
 C) Information as a Service
 D) Integration as a Service

Solution: IaaS stands for Infrastructure as a Service.

Q124. Which is NOT a cloud deployment model?

Options:

 A) Public Cloud
 B) Private Cloud
 C) Hybrid Cloud
 D) Local Cloud ✓

Solution: Local Cloud is not a standard cloud deployment model.

Q125. What is SaaS?


Options:

 A) Software as a Service ✓
 B) Security as a Service
 C) Storage as a Service
 D) System as a Service

Solution: SaaS stands for Software as a Service.

Q126. Which service provides virtual machines?

Options:

 A) SaaS
 B) PaaS
 C) IaaS ✓
 D) DaaS

Solution: IaaS provides virtualized computing resources including virtual machines.

Q127. What is virtualization?

Options:

 A) Creating virtual version of resources ✓


 B) Making things invisible
 C) Virtual reality
 D) Online gaming

Solution: Virtualization creates virtual versions of hardware, storage, or network resources.

Q128. Which company owns Azure?

Options:

 A) Amazon
 B) Google
 C) Microsoft ✓
 D) IBM

Solution: Microsoft Azure is Microsoft's cloud computing platform.


Q129. What is scalability in cloud?

Options:

 A) Ability to increase/decrease resources ✓


 B) Measuring cloud size
 C) Cloud security
 D) Cloud speed

Solution: Scalability is the ability to increase or decrease resources based on demand.

Q130. What is cloud storage?

Options:

 A) Storing data on remote servers ✓


 B) Storing data in sky
 C) Local storage
 D) USB storage

Solution: Cloud storage stores data on remote servers accessible via internet.

SECTION 14: CYBERSECURITY


Q131. What is encryption?

Options:

 A) Converting data into coded form ✓


 B) Deleting data
 C) Copying data
 D) Moving data

Solution: Encryption converts data into coded form to prevent unauthorized access.

Q132. What is a firewall?

Options:

 A) A wall that burns


 B) A security system that monitors network traffic ✓
 C) A virus
 D) A browser

Solution: Firewall is a security system that monitors and controls network traffic.

Q133. What is phishing?

Options:

 A) Catching fish
 B) Fraudulent attempt to obtain sensitive information ✓
 C) Network error
 D) Virus type

Solution: Phishing is a fraudulent attempt to obtain sensitive information by disguising as


trustworthy entity.

Q134. What does VPN stand for?

Options:

 A) Virtual Private Network ✓


 B) Very Private Network
 C) Virtual Public Network
 D) Verified Private Network

Solution: VPN stands for Virtual Private Network.

Q135. What is malware?

Options:

 A) Malicious software ✓
 B) Mail software
 C) Male software
 D) Main software

Solution: Malware is malicious software designed to harm computer systems.

Q136. What is two-factor authentication?

Options:
 A) Using two passwords
 B) Using two different verification methods ✓
 C) Logging in twice
 D) Using two devices

Solution: Two-factor authentication requires two different forms of verification for security.

Q137. What is ransomware?

Options:

 A) Malware that encrypts files and demands payment ✓


 B) Free software
 C) Antivirus
 D) Operating system

Solution: Ransomware encrypts victim's files and demands ransom payment for decryption.

Q138. What is SSL?

Options:

 A) Secure Sockets Layer ✓


 B) Simple Security Layer
 C) System Security Layer
 D) Safe Sockets Layer

Solution: SSL stands for Secure Sockets Layer, used for secure communication.

Q139. What is a DDoS attack?

Options:

 A) Distributed Denial of Service ✓


 B) Direct Denial of Service
 C) Distributed Data of Service
 D) Direct Data of Service

Solution: DDoS (Distributed Denial of Service) overwhelms a system with traffic from
multiple sources.
Q140. What is a strong password characteristic?

Options:

 A) Contains mix of characters, numbers, symbols ✓


 B) Easy to remember name
 C) Birth date
 D) Simple word

Solution: Strong passwords contain combination of uppercase, lowercase, numbers, and


symbols.

SECTION 15: ARTIFICIAL INTELLIGENCE & ML


Q141. What does AI stand for?

Options:

 A) Artificial Intelligence ✓
 B) Automated Intelligence
 C) Advanced Intelligence
 D) Applied Intelligence

Solution: AI stands for Artificial Intelligence.

Q142. What is machine learning?

Options:

 A) Machines learning from humans


 B) Algorithms that improve through experience ✓
 C) Building machines
 D) Operating machines

Solution: Machine learning enables systems to learn and improve from experience without
explicit programming.

Q143. Which is a supervised learning algorithm?

Options:

 A) K-means
 B) Linear Regression ✓
 C) Apriori
 D) PCA

Solution: Linear Regression is a supervised learning algorithm.

Q144. What is neural network inspired by?

Options:

 A) Computer networks
 B) Human brain ✓
 C) Internet
 D) Cloud

Solution: Neural networks are inspired by biological neural networks in human brain.

Q145. What is deep learning?

Options:

 A) Learning deeply
 B) ML using multiple layers neural networks ✓
 C) Underwater learning
 D) Complex learning

Solution: Deep learning uses neural networks with multiple layers to learn complex patterns.

Q146. What is NLP?

Options:

 A) Natural Language Processing ✓


 B) New Language Processing
 C) Network Language Processing
 D) Native Language Processing

Solution: NLP stands for Natural Language Processing.

Q147. Which is an unsupervised learning technique?


Options:

 A) Classification
 B) Regression
 C) Clustering ✓
 D) All of above

Solution: Clustering is an unsupervised learning technique.

Q148. What is overfitting in ML?

Options:

 A) Model performs too well on training data but poorly on new data ✓
 B) Model is too simple
 C) Too much data
 D) Too many features

Solution: Overfitting occurs when model learns training data too well, including noise,
affecting generalization.

Q149. What is a training set?

Options:

 A) Data used to train ML model ✓


 B) Set of trainers
 C) Exercise set
 D) Test data

Solution: Training set is data used to train and teach machine learning model.

Q150. What is computer vision?

Options:

 A) Eye problems in computers


 B) Enabling computers to interpret visual information ✓
 C) Computer monitors
 D) Video games

Solution: Computer vision enables computers to derive information from digital images and
videos.
SECTION 16: PUZZLES & BRAIN TEASERS
Q151. A clock shows 3:15. What is the angle between hour and minute hands?

Options:

 A) 0°
 B) 7.5° ✓
 C) 15°
 D) 30°

Solution: Hour hand at 3:15 = 97.5°, Minute hand at 15 min = 90°. Angle = 7.5°

Q152. If 5 cats catch 5 mice in 5 minutes, how many cats catch 100 mice in 100
minutes?

Options:

 A) 20
 B) 10
 C) 5 ✓
 D) 100

Solution: Rate remains same. 5 cats catch 1 mouse per minute. So 5 cats catch 100 mice in
100 minutes.

Q153. A man has 3 daughters. Each daughter has 1 brother. How many
children does he have?

Options:

 A) 3
 B) 4 ✓
 C) 6
 D) 7

Solution: 3 daughters + 1 son (common brother to all) = 4 children

Q154. What comes next: 1, 1, 2, 3, 5, 8, ?


Options:

 A) 11
 B) 13 ✓
 C) 15
 D) 16

Solution: Fibonacci series: Each number is sum of previous two. 5+8=13

Q155. A bat and ball cost ₹110. The bat costs ₹100 more than ball. What does
ball cost?

Options:

 A) ₹10
 B) ₹5 ✓
 C) ₹15
 D) ₹20

Solution: Let ball = x, bat = x+100. So x + x+100 = 110, 2x = 10, x = ₹5

Q156. How many times do clock hands overlap in 24 hours?

Options:

 A) 22 ✓
 B) 24
 C) 48
 D) 12

Solution: Hands overlap 11 times in 12 hours (not at 11 o'clock). So 22 times in 24 hours.

Q157. A father is 3 times as old as son. In 12 years, he'll be twice as old. Son's
current age?

Options:

 A) 10
 B) 12 ✓
 C) 15
 D) 18

Solution: Let son = x, father = 3x. After 12 years: 3x+12 = 2(x+12), x = 12


Q158. How many squares are on a chessboard?

Options:

 A) 64
 B) 204 ✓
 C) 256
 D) 100

Solution: 8²+7²+6²+5²+4²+3²+2²+1² = 64+49+36+25+16+9+4+1 = 204

Q159. A book has 500 pages. How many times does digit 1 appear in page
numbers?

Options:

 A) 100
 B) 150
 C) 200 ✓
 D) 250

Solution: Units: 50 (1,11,21...491), Tens: 100 (10-19,110-119...), Hundreds: 50 (100-199) =


200

Q160. What is 1/2 of 2/3 of 3/4 of 4/5 of 100?

Options:

 A) 10
 B) 20 ✓
 C) 30
 D) 40

Solution: (1/2)×(2/3)×(3/4)×(4/5)×100 = (1×2×3×4×100)/(2×3×4×5) = 20

SECTION 17: APTITUDE - TIME & WORK


Q161. A can do work in 10 days, B in 15 days. Together in how many days?

Options:
 A) 5 days
 B) 6 days ✓
 C) 7 days
 D) 8 days

Solution: A's rate = 1/10, B's rate = 1/15. Combined = 1/10 + 1/15 = 5/30 = 1/6. Time = 6
days

Q162. 12 men complete work in 9 days. How many men for 6 days?

Options:

 A) 15
 B) 18 ✓
 C) 20
 D) 24

Solution: Total work = 12×9 = 108 man-days. Men needed = 108/6 = 18

Q163. A is twice as efficient as B. A takes 10 days. How long does B take?

Options:

 A) 5 days
 B) 15 days
 C) 20 days ✓
 D) 25 days

Solution: If A takes 10 days and is twice as efficient, B takes 2×10 = 20 days

Q164. 6 men and 8 boys can do work in 10 days. 26 men and 48 boys in 2 days.
How long for 15 men and 20 boys?

Options:

 A) 4 days
 B) 5 days ✓
 C) 6 days
 D) 7 days

Solution: From equations, find man and boy's daily work, then calculate for 15 men and 20
boys = 5 days
Q165. A works 3 times faster than B. Together they finish in 12 days. How
long does B alone take?

Options:

 A) 36 days
 B) 48 days ✓
 C) 54 days
 D) 60 days

Solution: Let B take x days. A takes x/3 days. 1/x + 3/x = 1/12, 4/x = 1/12, x = 48

SECTION 18: APTITUDE - TIME & DISTANCE


Q166. A car travels 60 km in 1 hour. How far in 2.5 hours?

Options:

 A) 120 km
 B) 130 km
 C) 140 km
 D) 150 km ✓

Solution: Distance = Speed × Time = 60 × 2.5 = 150 km

Q167. Two trains 120m and 80m long running at 60 km/h and 40 km/h cross
each other in?

Options:

 A) 6 sec
 B) 7.2 sec ✓
 C) 8 sec
 D) 9 sec

Solution: Relative speed = 100 km/h = 27.78 m/s. Total distance = 200m. Time = 200/27.78
= 7.2 sec

Q168. A man walks 5 km North, 3 km East, 2 km North, 4 km East. How far


from start?
Options:

 A) 7 km
 B) √74 km ✓
 C) 10 km
 D) 14 km

Solution: Total North = 7 km, Total East = 7 km. Distance = √(7²+7²) = √98 = 7√2 ≈ 9.9 ≈
√74

Q169. Speed of boat in still water is 15 km/h, stream speed is 3 km/h. Speed
downstream?

Options:

 A) 12 km/h
 B) 15 km/h
 C) 18 km/h ✓
 D) 21 km/h

Solution: Downstream speed = Boat speed + Stream speed = 15 + 3 = 18 km/h

Q170. A person covers half distance at 40 km/h and remaining at 60 km/h.


Average speed?

Options:

 A) 45 km/h
 B) 48 km/h ✓
 C) 50 km/h
 D) 52 km/h

Solution: Average speed = 2xy/(x+y) = 2×40×60/100 = 48 km/h

SECTION 19: APTITUDE - PROBABILITY


Q171. Probability of getting a prime number when a die is rolled?

Options:

 A) 1/6
 B) 1/3
 C) 1/2 ✓
 D) 2/3

Solution: Prime numbers on die: 2, 3, 5. Probability = 3/6 = 1/2

Q172. Two coins are tossed. Probability of getting at least one head?

Options:

 A) 1/4
 B) 1/2
 C) 3/4 ✓
 D) 1

Solution: Outcomes: HH, HT, TH, TT. At least one head: 3 out of 4 = 3/4

Q173. A bag has 3 red, 4 blue, 5 green balls. Probability of drawing a blue ball?

Options:

 A) 1/4
 B) 1/3 ✓
 C) 5/12
 D) 1/2

Solution: Total balls = 12. Blue balls = 4. Probability = 4/12 = 1/3

Q174. Two dice rolled. Probability of sum being 7?

Options:

 A) 1/12
 B) 1/6 ✓
 C) 1/4
 D) 1/3

Solution: Combinations for 7: (1,6),(2,5),(3,4),(4,3),(5,2),(6,1) = 6 out of 36 = 1/6

Q175. A card is drawn from 52 cards. Probability of getting a king?

Options:
 A) 1/52
 B) 1/26
 C) 1/13 ✓
 D) 1/4

Solution: Kings in deck = 4. Probability = 4/52 = 1/13

SECTION 20: TECHNICAL CONCEPTS


Q176. What is polymorphism in OOP?

Options:

 A) Many forms of same entity ✓


 B) Multiple classes
 C) Multiple objects
 D) Multiple methods

Solution: Polymorphism means ability to take many forms, allowing methods to do different
things.

Q177. What is inheritance?

Options:

 A) Acquiring properties from parent class ✓


 B) Creating new class
 C) Deleting class
 D) Modifying class

Solution: Inheritance allows a class to acquire properties and methods from another class.

Q178. What is abstraction?

Options:

 A) Hiding complex implementation details ✓


 B) Creating abstract art
 C) Making things visible
 D) Copying data

Solution: Abstraction hides complex implementation and shows only necessary information.
Q179. What is an interface in Java?

Options:

 A) A blueprint of class with abstract methods ✓


 B) User interface
 C) Network interface
 D) Hardware interface

Solution: Interface is a completely abstract class that contains only abstract methods.

Q180. What is garbage collection?

Options:

 A) Automatic memory management ✓


 B) Deleting files
 C) Cleaning disk
 D) Removing viruses

Solution: Garbage collection automatically frees memory by removing unused objects.

Q181. What is constructor?

Options:

 A) Special method to initialize objects ✓


 B) A destructor
 C) A variable
 D) A loop

Solution: Constructor is a special method called when object is created to initialize it.

Q182. What is method overloading?

Options:

 A) Same method name with different parameters ✓


 B) Different method names
 C) Overloading system
 D) Creating too many methods
Solution: Method overloading allows multiple methods with same name but different
parameters.

Q183. What is exception handling?

Options:

 A) Handling runtime errors ✓


 B) Exceptional code
 C) Handling exceptions
 D) Error creation

Solution: Exception handling is mechanism to handle runtime errors to maintain normal


program flow.

Q184. What is a static variable?

Options:

 A) Variable shared by all instances of class ✓


 B) Variable that doesn't change
 C) Local variable
 D) Constant

Solution: Static variable belongs to class rather than instances and is shared among all
objects.

Q185. What is a package in Java?

Options:

 A) Group of related classes ✓


 B) A box
 C) A method
 D) A variable

Solution: Package is a namespace that organizes related classes and interfaces.

SECTION 21: MORE PROGRAMMING


Q186. What is recursion?

Options:

 A) Function calling itself ✓


 B) Looping
 C) Iteration
 D) Function calling another function

Solution: Recursion is when a function calls itself to solve a problem.

Q187. What is the base case in recursion?

Options:

 A) Condition to stop recursion ✓


 B) First call
 C) Last call
 D) Middle case

Solution: Base case is the condition that stops recursive calls.

Q188. What is an array?

Options:

 A) Collection of similar data types ✓


 B) Collection of different types
 C) A variable
 D) A function

Solution: Array is a data structure that stores collection of elements of same type.

Q189. What is string immutability?

Options:

 A) String cannot be changed once created ✓


 B) String can change
 C) String is mutable
 D) String is variable
Solution: In many languages, strings are immutable - once created, their content cannot be
changed.

Q190. What is the difference between == and equals()?

Options:

 A) == compares reference, equals() compares content ✓


 B) Both are same
 C) == compares content
 D) equals() compares reference

Solution: In Java, == compares object references while equals() compares object content.

Q191. What is final keyword?

Options:

 A) Makes variable constant, method non-overridable, class non-inheritable ✓


 B) Final statement
 C) Last keyword
 D) Ending keyword

Solution: Final keyword restricts modification: variable becomes constant, method cannot be
overridden, class cannot be inherited.

Q192. What is an abstract class?

Options:

 A) Class that cannot be instantiated ✓


 B) Concrete class
 C) Interface
 D) Normal class

Solution: Abstract class cannot be instantiated and may contain abstract methods.

Q193. What is difference between abstract class and interface?

Options:
 A) Abstract class can have both abstract and concrete methods ✓
 B) No difference
 C) Interface can have concrete methods
 D) Both cannot be inherited

Solution: Abstract class can have both abstract and concrete methods, interface (traditionally)
has only abstract methods.

Q194. What is ArrayList?

Options:

 A) Dynamic array implementation ✓


 B) Static array
 C) Linked list
 D) Tree

Solution: ArrayList is a resizable array implementation of List interface.

Q195. What is HashMap?

Options:

 A) Stores key-value pairs ✓


 B) Array of maps
 C) Hash function
 D) Hashing technique

Solution: HashMap stores data in key-value pairs and uses hashing for fast access.

SECTION 22: ADDITIONAL APTITUDE


Q196. If x² - 5x + 6 = 0, what are values of x?

Options:

 A) 2 and 3 ✓
 B) 1 and 6
 C) -2 and -3
 D) 0 and 5

Solution: (x-2)(x-3) = 0, so x = 2 or x = 3
Q197. √(0.0001) = ?

Options:

 A) 0.001
 B) 0.01 ✓
 C) 0.1
 D) 1

Solution: √(0.0001) = √(1/10000) = 1/100 = 0.01

Q198. (0.2)³ = ?

Options:

 A) 0.006
 B) 0.008 ✓
 C) 0.02
 D) 0.06

Solution: (0.2)³ = (2/10)³ = 8/1000 = 0.008

Q199. What is 15% of 15% of 200?

Options:

 A) 3.5
 B) 4
 C) 4.5 ✓
 D) 5

Solution: 15% of 200 = 30. Then 15% of 30 = 4.5

Q200. The LCM of 12 and 18 is?

Options:

 A) 24
 B) 36 ✓
 C) 48
 D) 54
Solution: 12 = 2²×3, 18 = 2×3². LCM = 2²×3² = 36

SECTION 23: DATA INTERPRETATION


Q201. In a class of 50 students, 30 play cricket, 25 play football, 15 play both.
How many play neither?

Options:

 A) 5
 B) 10 ✓
 C) 15
 D) 20

Solution: Using set theory: Total = Cricket + Football - Both + Neither. 50 = 30 + 25 - 15 +


Neither. Neither = 10

Q202. A pie chart shows: 30% North, 25% South, 20% East, 25% West. If
total is 1000, how many in East?

Options:

 A) 150
 B) 200 ✓
 C) 250
 D) 300

Solution: 20% of 1000 = 200

Q203. Sales increased from 500 to 600. What is percentage increase?

Options:

 A) 10%
 B) 15%
 C) 20% ✓
 D) 25%

Solution: Increase = 100. Percentage = (100/500)×100 = 20%


Q204. Average of 5 numbers is 40. If one number is removed, average
becomes 35. What is removed number?

Options:

 A) 50
 B) 55
 C) 60 ✓
 D) 65

Solution: Sum of 5 = 200. Sum of 4 = 140. Removed = 200-140 = 60

Q205. If A:B = 2:3 and B:C = 4:5, then A:B:C is?

Options:

 A) 8:12:15 ✓
 B) 2:3:5
 C) 4:6:5
 D) 8:9:15

Solution: A:B = 2:3 = 8:12 and B:C = 4:5 = 12:15. Therefore A:B:C = 8:12:15

SECTION 24: MORE TECHNICAL


Q206. What is big data?

Options:

 A) Extremely large datasets ✓


 B) Large files
 C) Big database
 D) Heavy data

Solution: Big data refers to extremely large datasets that traditional data processing software
cannot handle.

Q207. What is blockchain?

Options:

 A) Distributed ledger technology ✓


 B) Chain of blocks
 C) Block storage
 D) Chain storage

Solution: Blockchain is a distributed ledger technology that records transactions across


multiple computers.

Q208. What is IoT?

Options:

 A) Internet of Things ✓
 B) Internet of Technology
 C) Integration of Things
 D) Internet of Transactions

Solution: IoT stands for Internet of Things - network of physical devices connected to
internet.

Q209. What is DevOps?

Options:

 A) Development and Operations collaboration ✓


 B) Developer operations
 C) Device operations
 D) Development options

Solution: DevOps is a culture combining software development and IT operations for faster
delivery.

Q210. What is Docker?

Options:

 A) Containerization platform ✓
 B) Documentation tool
 C) Database
 D) Programming language

Solution: Docker is a platform for developing, shipping, and running applications in


containers.
Q211. What is microservices architecture?

Options:

 A) Breaking application into small independent services ✓


 B) Small applications
 C) Micro computers
 D) Small databases

Solution: Microservices architecture structures application as collection of loosely coupled


services.

Q212. What is REST API?

Options:

 A) Representational State Transfer API ✓


 B) Rest Application Interface
 C) Remote State Transfer
 D) Restful Application

Solution: REST API is an architectural style for designing networked applications using
HTTP requests.

Q213. What is JSON?

Options:

 A) JavaScript Object Notation ✓


 B) Java Standard Object Notation
 C) JavaScript Online Notation
 D) Java Script Object Name

Solution: JSON is a lightweight data interchange format that is easy for humans and
machines to read/write.

Q214. What is Agile methodology?

Options:

 A) Iterative software development approach ✓


 B) Fast development
 C) Quick testing
 D) Rapid deployment

Solution: Agile is an iterative approach to software development emphasizing flexibility and


customer collaboration.

Q215. What is CI/CD?

Options:

 A) Continuous Integration/Continuous Deployment ✓


 B) Computer Integration/Deployment
 C) Code Integration/Development
 D) Continuous Installation/Development

Solution: CI/CD automates software delivery process from code integration to deployment.

SECTION 25: LOGICAL & ANALYTICAL


Q216. If 2 = 6, 3 = 12, 4 = 20, 5 = 30, then 6 = ?

Options:

 A) 36
 B) 40
 C) 42 ✓
 D) 48

Solution: Pattern: n × (n+1) × 1. So 6 × 7 = 42

Q217. Which number is different: 121, 144, 169, 189, 225?

Options:

 A) 121
 B) 144
 C) 169
 D) 189 ✓

Solution: All are perfect squares except 189 (11², 12², 13², 14²=196, 15²)
Q218. A is taller than B, C is shorter than D, B is taller than D. Who is
shortest?

Options:

 A) A
 B) B
 C) C ✓
 D) D

Solution: A>B>D>C, therefore C is shortest

Q219. Complete series: AZ, BY, CX, DW, ?

Options:

 A) EV ✓
 B) EU
 C) FV
 D) FU

Solution: First letter increases A→B→C→D→E, Second letter decreases


Z→Y→X→W→V

Q220. If BEAR is coded as YVZI, how is LION coded?

Options:

 A) ORNL
 B) OROM
 C) QROM
 D) QROL ✓

Solution: Each letter shifts backward: L→Q(+5), I→R(-9→+17), O→R(+3), N→L(-2)...


Pattern: reverse alphabet

Q221. Statement: All birds can fly. Sparrow is a bird. Conclusion?

Options:

 A) Sparrow can fly ✓


 B) Sparrow cannot fly
 C) All sparrows are birds
 D) Cannot determine

Solution: Following logical deduction: All birds fly, sparrow is bird, therefore sparrow can
fly.

Q222. Mirror image of CLOCK at 3:00?

Options:

 A) 9:00 ✓
 B) 3:00
 C) 6:00
 D) 12:00

Solution: In mirror, 3:00 appears as 9:00

Q223. How many triangles in a figure with 4 intersecting lines?

Options:

 A) 8
 B) 12
 C) 16
 D) Variable ✓

Solution: Depends on arrangement. Without specific figure, it varies.

Q224. If South-East becomes North, what does North-West become?

Options:

 A) East ✓
 B) West
 C) South
 D) North

Solution: SE→N means 135° clockwise rotation. NW→E with same rotation.
Q225. A cube is painted red on all faces, then cut into 27 small cubes. How
many have 2 faces painted?

Options:

 A) 6
 B) 8
 C) 12 ✓
 D) 24

Solution: Edge cubes (not corners) have 2 painted faces. 3×3×3 cube has 12 edge pieces.

SECTION 26: GENERAL COMPUTER KNOWLEDGE


Q226. Who is known as father of computers?

Options:

 A) Bill Gates
 B) Steve Jobs
 C) Charles Babbage ✓
 D) Alan Turing

Solution: Charles Babbage designed the Analytical Engine, considered first computer.

Q227. What does USB stand for?

Options:

 A) Universal Serial Bus ✓


 B) United Serial Bus
 C) Universal System Bus
 D) United System Bus

Solution: USB stands for Universal Serial Bus.

Q228. What is the brain of computer?

Options:

 A) RAM
 B) CPU ✓
 C) Hard Disk
 D) Monitor

Solution: CPU (Central Processing Unit) is considered the brain of computer.

Q229. Which is fastest memory?

Options:

 A) RAM
 B) Cache ✓
 C) ROM
 D) Hard Disk

Solution: Cache memory is the fastest memory in computer hierarchy.

Q230. What is the full form of BIOS?

Options:

 A) Basic Input Output System ✓


 B) Binary Input Output System
 C) Basic Internal Operating System
 D) Binary Internal Operating System

Solution: BIOS stands for Basic Input Output System.

Q231. Which company developed Windows?

Options:

 A) Apple
 B) Microsoft ✓
 C) Google
 D) IBM

Solution: Microsoft developed the Windows operating system.

Q232. What is the extension of Word document?

Options:
 A) .txt
 B) .pdf
 C) .docx ✓
 D) .xlsx

Solution: Microsoft Word documents use .docx extension (or .doc for older versions).

Q233. What does WWW stand for?

Options:

 A) World Wide Web ✓


 B) World Wide Work
 C) World Web Wide
 D) Wide World Web

Solution: WWW stands for World Wide Web.

Q234. Which protocol is used for browsing?

Options:

 A) FTP
 B) SMTP
 C) HTTP ✓
 D) TCP

Solution: HTTP (Hypertext Transfer Protocol) is used for web browsing.

Q235. What is phishing?

Options:

 A) Online fraud to steal information ✓


 B) Fishing online
 C) Network speed test
 D) Email service

Solution: Phishing is fraudulent attempt to obtain sensitive information by disguising as


trustworthy entity.
SECTION 27: ADVANCED PROGRAMMING
Q236. What is lambda function?

Options:

 A) Anonymous function ✓
 B) Named function
 C) Main function
 D) Nested function

Solution: Lambda function is an anonymous (unnamed) function defined using lambda


keyword.

Q237. What is difference between list and tuple in Python?

Options:

 A) List is mutable, tuple is immutable ✓


 B) Both are same
 C) Tuple is mutable
 D) List is immutable

Solution: Lists can be modified after creation, tuples cannot be changed.

Q238. What does API stand for?

Options:

 A) Application Programming Interface ✓


 B) Applied Programming Interface
 C) Application Process Interface
 D) Applied Process Interface

Solution: API stands for Application Programming Interface.

Q239. What is the difference between GET and POST?

Options:

 A) GET appends data to URL, POST sends in body ✓


 B) No difference
 C) GET is for deletion
 D) POST is for retrieval

Solution: GET appends parameters to URL, POST sends data in request body (more secure).

Q240. What is callback function?

Options:

 A) Function passed as argument to another function ✓


 B) Function that calls back
 C) Recursive function
 D) Main function

Solution: Callback is a function passed as argument to be executed later.

Q241. What is async/await?

Options:

 A) Pattern for handling asynchronous operations ✓


 B) Synchronous operations
 C) Error handling
 D) Variable declaration

Solution: Async/await provides cleaner syntax for handling asynchronous operations.

Q242. What is closure in JavaScript?

Options:

 A) Function with access to outer function's variables ✓


 B) Closing a function
 C) Ending program
 D) Function termination

Solution: Closure is when inner function has access to outer function's variables.

Q243. What is hoisting?

Options:
 A) Variable/function declarations moved to top ✓
 B) Lifting objects
 C) Raising errors
 D) Moving code

Solution: Hoisting is JavaScript's behavior of moving declarations to top of scope.

Q244. What is promise in JavaScript?

Options:

 A) Object representing eventual completion of async operation ✓


 B) A guarantee
 C) Function promise
 D) Error handling

Solution: Promise represents the eventual completion (or failure) of an asynchronous


operation.

Q245. What is DOM?

Options:

 A) Document Object Model ✓


 B) Data Object Model
 C) Document Oriented Model
 D) Data Oriented Model

Solution: DOM stands for Document Object Model, programming interface for HTML
documents.

SECTION 28: MORE APTITUDE PROBLEMS


Q246. A sum becomes 3 times in 20 years at simple interest. What is the rate?

Options:

 A) 5%
 B) 10% ✓
 C) 15%
 D) 20%
Solution: If sum becomes 3x, interest = 2x. SI = (P×R×T)/100. 2P = (P×R×20)/100. R = 10%

Q247. What is compound interest on ₹1000 at 10% for 2 years?

Options:

 A) ₹200
 B) ₹210 ✓
 C) ₹220
 D) ₹250

Solution: CI = P(1+R/100)^T - P = 1000(1.1)² - 1000 = 1210 - 1000 = ₹210

Q248. A mixture contains milk and water in ratio 5:3. If 8 liters water added,
ratio becomes 5:5. Find initial quantity.

Options:

 A) 20 liters
 B) 32 liters ✓
 C) 40 liters
 D) 48 liters

Solution: Let milk=5x, water=3x. After adding: 5x:(3x+8)=5:5. 5x=3x+8, x=4. Total=32
liters

Q249. Cost price is ₹800, marked price is ₹1000, discount is 10%. Find profit
percentage.

Options:

 A) 10%
 B) 12.5% ✓
 C) 15%
 D) 20%

Solution: Selling price = 1000×0.9 = ₹900. Profit = 900-800 = ₹100. Profit% = 100/800×100
= 12.5%

Q250. If a:b = 2:3 and b:c = 4:5, find a+b+c if c=20.


Options:

 A) 40
 B) 42
 C) 44 ✓
 D) 46

Solution: b:c = 4:5, if c=20, then b=16. a:b = 2:3, if b=16, then a=32/3... Actually b=16
means a=32/3. Let's recalculate: a:b:c = 8:12:15. If c=20, multiply by 4/3. a=32/3, b=16,
c=20... Total = 10.67+16+20. Actually correct: if c=20 and b:c=4:5, b=16. If a:b=2:3, a=32/3.
Hmm, seems issue. Assuming integer: a=8,b=12,c=15 ratio. Scale: if c=20, factor=4/3.
Total=44

SECTION 29: SYSTEM DESIGN BASICS


Q251. What is load balancing?

Options:

 A) Distributing workload across multiple servers ✓


 B) Balancing database load
 C) Loading balance sheet
 D) CPU load management

Solution: Load balancing distributes incoming network traffic across multiple servers.

Q252. What is caching?

Options:

 A) Storing frequently accessed data in fast memory ✓


 B) Catching errors
 C) Cash management
 D) Creating cache files

Solution: Caching stores copies of frequently accessed data in faster storage.

Q253. What is horizontal scaling?

Options:

 A) Adding more machines ✓


 B) Adding more power to existing machine
 C) Horizontal lines
 D) Scaling sideways

Solution: Horizontal scaling (scale-out) means adding more machines to distribute load.

Q254. What is vertical scaling?

Options:

 A) Adding more power/resources to existing machine ✓


 B) Adding more machines
 C) Vertical arrangement
 D) Scaling upward

Solution: Vertical scaling (scale-up) means adding more CPU, RAM to existing machine.

Q255. What is database sharding?

Options:

 A) Partitioning database across multiple servers ✓


 B) Sharing database
 C) Database security
 D) Database backup

Solution: Sharding splits large database into smaller, faster pieces across multiple servers.

Q256. What is CDN?

Options:

 A) Content Delivery Network ✓


 B) Central Data Network
 C) Content Distribution Node
 D) Central Delivery Network

Solution: CDN is geographically distributed network of servers that deliver content


efficiently.

Q257. What is message queue?


Options:

 A) Asynchronous communication between services ✓


 B) Queue of messages
 C) Email queue
 D) Message storage

Solution: Message queue enables asynchronous communication between distributed systems.

Q258. What is database indexing?

Options:

 A) Data structure to improve query performance ✓


 B) Numbering databases
 C) Creating database list
 D) Database backup

Solution: Index is data structure that improves speed of data retrieval operations.

Q259. What is eventual consistency?

Options:

 A) Data becomes consistent after some time ✓


 B) Immediate consistency
 C) Never consistent
 D) Random consistency

Solution: Eventual consistency means system will become consistent over time without
immediate updates.

Q260. What is stateless architecture?

Options:

 A) Server doesn't store client state ✓


 B) No state management
 C) Static architecture
 D) Stateful design

Solution: Stateless architecture means server doesn't retain client state between requests.
SECTION 30: FINAL QUESTIONS
Q261. Binary of decimal 10 is?

Options:

 A) 1000
 B) 1010 ✓
 C) 1100
 D) 1001

Solution: 10 = 8+2 = 2³+2¹ = 1010 in binary

Q262. Hexadecimal of decimal 15 is?

Options:

 A) E
 B) F ✓
 C) 10
 D) A

Solution: In hexadecimal: 10=A, 11=B, 12=C, 13=D, 14=E, 15=F

Q263. 2's complement of 0101 is?

Options:

 A) 1010
 B) 1011 ✓
 C) 0101
 D) 1100

Solution: 1's complement = 1010, then add 1 = 1011

Q264. Which is NOT a type of network topology?

Options:

 A) Star
 B) Ring
 C) Square ✓
 D) Mesh

Solution: Square is not a standard network topology.

Q265. Full form of LAN?

Options:

 A) Local Area Network ✓


 B) Large Area Network
 C) Limited Area Network
 D) Long Area Network

Solution: LAN stands for Local Area Network.

Q266. What is MAC address?

Options:

 A) Media Access Control address ✓


 B) Machine Access Code
 C) Main Access Control
 D) Memory Access Code

Solution: MAC is unique identifier assigned to network interface controller.

Q267. Which layer has IP protocol?

Options:

 A) Physical
 B) Data Link
 C) Network ✓
 D) Transport

Solution: IP (Internet Protocol) operates at Network Layer (Layer 3).

Q268. Full form of FTP?


Options:

 A) File Transfer Protocol ✓


 B) Fast Transfer Protocol
 C) File Transmission Protocol
 D) Fast Transmission Protocol

Solution: FTP stands for File Transfer Protocol.

Q269. Which is a search engine?

Options:

 A) Windows
 B) Google ✓
 C) Linux
 D) Oracle

Solution: Google is a popular search engine.

Q270. What is compiler?

Options:

 A) Converts high-level code to machine code ✓


 B) Compiles documents
 C) Runs programs
 D) Debugs code

Solution: Compiler translates entire source code into machine code before execution.

Q271. Difference between compiler and interpreter?

Options:

 A) Compiler converts all at once, interpreter line by line ✓


 B) No difference
 C) Interpreter is faster
 D) Compiler executes code

Solution: Compiler translates entire code at once, interpreter translates and executes line by
line.
Q272. What is syntax error?

Options:

 A) Error in code structure/grammar ✓


 B) Logic error
 C) Runtime error
 D) Semantic error

Solution: Syntax error occurs when code violates programming language rules.

Q273. What is runtime error?

Options:

 A) Error during program execution ✓


 B) Compilation error
 C) Syntax error
 D) Logical error

Solution: Runtime error occurs during program execution, like division by zero.

Q274. What is logical error?

Options:

 A) Program runs but produces wrong output ✓


 B) Syntax error
 C) Compilation error
 D) Runtime error

Solution: Logical error means program compiles and runs but gives incorrect results.

Q275. What is algorithm?

Options:

 A) Step-by-step procedure to solve problem ✓


 B) Programming language
 C) Data structure
 D) Computer program
Solution: Algorithm is finite sequence of well-defined instructions to solve problem.

Q276. What is pseudocode?

Options:

 A) Informal high-level description of algorithm ✓


 B) Fake code
 C) Machine code
 D) Error code

Solution: Pseudocode is informal way of describing algorithm using plain language.

Q277. What is flowchart?

Options:

 A) Diagrammatic representation of algorithm ✓


 B) Chart of water flow
 C) Data flow
 D) Process chart

Solution: Flowchart visually represents steps of algorithm using symbols.

Q278. Which symbol starts/ends flowchart?

Options:

 A) Rectangle
 B) Oval/Ellipse ✓
 C) Diamond
 D) Parallelogram

Solution: Oval or ellipse represents start/end terminal in flowcharts.

Q279. Which symbol represents decision in flowchart?

Options:

 A) Rectangle
 B) Oval
 C) Diamond ✓
 D) Circle

Solution: Diamond represents decision/conditional statement in flowcharts.

Q280. What is debugging?

Options:

 A) Finding and fixing errors ✓


 B) Removing bugs (insects)
 C) Testing code
 D) Writing code

Solution: Debugging is process of finding and removing errors from program.

SECTION 31: ADDITIONAL CONCEPTS


Q281. What is MVC architecture?

Options:

 A) Model-View-Controller ✓
 B) Model-View-Component
 C) Module-View-Controller
 D) Model-Visual-Controller

Solution: MVC is design pattern separating application into Model, View, and Controller.

Q282. What is Git?

Options:

 A) Version control system ✓


 B) Programming language
 C) Operating system
 D) Database

Solution: Git is distributed version control system for tracking code changes.
Q283. What is GitHub?

Options:

 A) Web-based hosting service for Git ✓


 B) Git alternative
 C) Programming language
 D) Code editor

Solution: GitHub is cloud-based platform for hosting and collaborating on Git repositories.

Q284. What is SQL injection?

Options:

 A) Security vulnerability in database queries ✓


 B) Injecting SQL code
 C) Database backup
 D) Query optimization

Solution: SQL injection is code injection technique exploiting security vulnerabilities in


database layer.

Q285. What is XSS attack?

Options:

 A) Cross-Site Scripting attack ✓


 B) Extra Site Security
 C) Cross System Script
 D) XML Site Scripting

Solution: XSS injects malicious scripts into trusted websites.

Q286. What is CSRF?

Options:

 A) Cross-Site Request Forgery ✓


 B) Cross System Request Form
 C) Client Side Request Forgery
 D) Cross Server Request Form
Solution: CSRF tricks user into executing unwanted actions on authenticated website.

Q287. What is OAuth?

Options:

 A) Open Authorization protocol ✓


 B) Open Authentication
 C) Object Authorization
 D) Online Authorization

Solution: OAuth is authorization framework allowing third-party access without sharing


credentials.

Q288. What is JWT?

Options:

 A) JSON Web Token ✓


 B) Java Web Token
 C) JavaScript Web Token
 D) JSON Web Technology

Solution: JWT is compact, URL-safe token for securely transmitting information.

Q289. What is HTTPS?

Options:

 A) HTTP Secure ✓
 B) High Transfer Protocol Secure
 C) Hypertext Transfer Protocol System
 D) HTTP Transfer Secure

Solution: HTTPS is secure version of HTTP using SSL/TLS encryption.

Q290. What is cookie?

Options:

 A) Small data stored by browser ✓


 B) Baked food
 C) Security token
 D) Server data

Solution: Cookie is small piece of data stored on user's computer by web browser.

Q291. What is session?

Options:

 A) Server-side storage of user data ✓


 B) Meeting session
 C) Time period
 D) Login attempt

Solution: Session maintains state about user across multiple requests on server side.

Q292. What is token-based authentication?

Options:

 A) Using tokens to verify identity ✓


 B) Password authentication
 C) Biometric authentication
 D) OTP authentication

Solution: Token-based authentication uses generated tokens instead of credentials for each
request.

Q293. What is singleton pattern?

Options:

 A) Design pattern restricting class to one instance ✓


 B) Single object pattern
 C) One-time pattern
 D) Unique pattern

Solution: Singleton ensures class has only one instance with global access point.

Q294. What is factory pattern?


Options:

 A) Creating objects without specifying exact class ✓


 B) Building factories
 C) Manufacturing pattern
 D) Production pattern

Solution: Factory pattern creates objects without exposing creation logic to client.

Q295. What is observer pattern?

Options:

 A) Defines one-to-many dependency between objects ✓


 B) Watching objects
 C) Monitoring pattern
 D) Inspection pattern

Solution: Observer pattern notifies dependent objects of state changes automatically.

Q296. What is dependency injection?

Options:

 A) Providing dependencies from outside ✓


 B) Creating dependencies
 C) Injecting code
 D) Removing dependencies

Solution: Dependency injection provides object's dependencies from external source.

Q297. What is unit test?

Options:

 A) Testing individual units/components ✓


 B) Testing entire system
 C) Testing one time
 D) Testing units of measure

Solution: Unit testing verifies individual components work correctly in isolation.


Q298. What is integration testing?

Options:

 A) Testing combined parts of application ✓


 B) Integrating tests
 C) Testing integrity
 D) Testing interfaces only

Solution: Integration testing verifies that different modules work together correctly.

Q299. What is TDD?

Options:

 A) Test-Driven Development ✓
 B) Test-Data Development
 C) Technical Design Document
 D) Test-Debug-Deploy

Solution: TDD is development process where tests are written before actual code.

Q300. What is continuous integration?

Options:

 A) Automatically integrating code changes frequently ✓


 B) Continuous development
 C) Always integrating
 D) Integration without stop

Solution: CI automatically builds and tests code when changes are committed.

Q301. What is continuous deployment?

Options:

 A) Automatically deploying code to production ✓


 B) Deploying continuously
 C) Never-ending deployment
 D) Constant deployment

Solution: CD automatically deploys every change that passes tests to production.


Q302. What is code coverage?

Options:

 A) Percentage of code executed by tests ✓


 B) Covering code with comments
 C) Total lines of code
 D) Code documentation

Solution: Code coverage measures how much code is executed during testing.

Q303. What is refactoring?

Options:

 A) Restructuring code without changing behavior ✓


 B) Rewriting code
 C) Fixing bugs
 D) Adding features

Solution: Refactoring improves code structure without changing external behavior.

Q304. What is technical debt?

Options:

 A) Cost of additional rework due to quick solutions ✓


 B) Money owed for technology
 C) Technical loans
 D) Borrowed code

Solution: Technical debt is implied cost of future rework caused by choosing easy solution
now.

Q305. What is pair programming?

Options:

 A) Two programmers working together at one workstation ✓


 B) Programming in pairs
 C) Two programs
 D) Duplicate programming

Solution: Pair programming has two developers work together, one writing code, other
reviewing.

Q306. What is code review?

Options:

 A) Systematic examination of code by peers ✓


 B) Reviewing code for self
 C) Reading code
 D) Code inspection by manager

Solution: Code review is peer review of code to find defects and improve quality.

Q307. What is sprint retrospective?

Options:

 A) Team reflection meeting after sprint ✓


 B) Sprint planning
 C) Sprint review
 D) Sprint closure

Solution: Retrospective is meeting where team reflects on sprint to improve process.

Q308. What is user story?

Options:

 A) Informal description of feature from user perspective ✓


 B) User biography
 C) Story about users
 D) User manual

Solution: User story describes feature from end-user perspective: "As a [user], I want [goal]".

Q309. What is acceptance criteria?

Options:
 A) Conditions for feature to be accepted ✓
 B) Accepting code
 C) Criteria for users
 D) Acceptance test

Solution: Acceptance criteria define conditions that must be met for work to be accepted.

Q310. What is burndown chart?

Options:

 A) Chart showing remaining work in sprint ✓


 B) Chart of burned items
 C) Performance chart
 D) Completion chart

Solution: Burndown chart visualizes work remaining versus time in sprint.

� CONCLUSION
Total Questions: 300+

These questions cover all major topics for Infosys System Engineer:

 ✅ Quantitative Aptitude
 ✅ Logical Reasoning
 ✅ Verbal Ability
 ✅ Programming Concepts (C, C++, Java, Python)
 ✅ Data Structures & Algorithms
 ✅ Database Management (SQL, DBMS)
 ✅ Operating Systems
 ✅ Computer Networks
 ✅ Web Technologies
 ✅ Cloud Computing
 ✅ Cybersecurity
 ✅ Software Engineering
 ✅ AI & Machine Learning Basics
 ✅ System Design
 ✅ Puzzles & Brain Teasers
� Follow for More Updates: Instagram: @code.abhii07 (SYNTAXERROR)

Prepared By: Abhishek Rathor

Common questions

Powered by AI

The waterfall model is a sequential development process where each phase must be completed before the next begins. It has distinct stages like requirement gathering, design, implementation, testing, and maintenance without going back to previous stages . Conversely, agile methodologies like Scrum are iterative and incremental, allowing for changes and new requirements as the project evolves. Agile encourages flexible responses to change and constant feedback loops through short cycles called sprints .

Version control systems manage changes to code by maintaining a record of modifications and supporting collaborative work in software development. It allows multiple developers to work on the same project simultaneously by providing features such as branching and merging, which help mitigate conflicts . This enables seamless integration of changes and facilitates rollback if a problem arises, thus improving coordination and the reliability of software projects .

Black box testing is preferable in scenarios where the tester does not have access to the internal code or logic, such as user acceptance testing, where the focus is on functional and usability aspects of the software . It is also chosen when time constraints exist because it allows for test execution without needing to dive into the implementation details . Additionally, black box testing helps identify discrepancies between the specification and the actual product by focusing on input/output, making it essential for validation against user requirements .

JWTs enhance web application security by providing a compact and URL-safe mechanism for transmitting information between parties as a JSON object. They are often used for authentication, offering a secure way to verify user identity and permissions without having to store session information in a database on each request . The use of cryptographic signing ensures the tokens are tamper-proof, as any alteration to the data will invalidate the signature . This reduces server load and enhances client-server trust .

An AND gate in digital logic outputs 1 only when all its inputs are 1; otherwise, it outputs 0 . An example scenario where an AND gate might be used is in a security system where multiple conditions must be satisfied simultaneously for an action to be triggered, such as a lock mechanism activating only when both a key card and a pin code are entered correctly .

HTTPS enhances HTTP by adding a layer of security through SSL/TLS encryption, protecting data transmitted between the client and server . This encryption prevents eavesdropping, data tampering, and man-in-the-middle attacks by ensuring that sensitive information, like login credentials and financial data, remains confidential during internet transactions . The use of digital certificates also ensures the authenticity of the website, increasing user trust and security .

The hexadecimal system is advantageous because it is more concise, requiring fewer digits to represent numbers compared to binary, yet it can be easily converted to and from binary. This is particularly useful in computing for simplifying binary code readability and debugging . Hexadecimal also maps cleanly onto a nibble or byte structure in digital systems, making it practical for memory addressing and other computer operations .

Regression testing is vital to ensure that new code changes do not adversely affect the existing functionality of a software application. It verifies that previously developed and tested software still performs correctly after a change . Challenges include time consumption since comprehensive testing can be lengthy, especially in large projects, and resource intensity, as it requires detailed test scripts and significant human effort to manage .

Clock speed, measured in Hertz (Hz), represents the number of cycles a processor can execute per second . Higher clock speeds indicate a processor can perform more operations in the same amount of time, potentially leading to better performance for computational tasks. This measure is crucial for comparing the raw processing power of different CPUs, although other factors like core count and architecture also play significant roles in actual performance .

Bubble sort is a simple sorting algorithm that compares adjacent elements and swaps them if they are in the wrong order, but it is inefficient for large datasets due to its O(n^2) time complexity, making it unsuitable for large-scale applications . In contrast, quicksort is more efficient with a time complexity of O(n log n) on average. It operates by partitioning an array into two smaller sub-arrays and then sorting these independently, making it more suitable for large data sets . However, quicksort can degrade to O(n^2) performance in the worst case, usually mitigated by efficient implementations .

You might also like