Infosys System Engineer Exam Guide
Infosys System Engineer Exam Guide
Options:
A) 50 km/h
B) 60 km/h ✓
C) 70 km/h
D) 80 km/h
Options:
A) 50
B) 75
C) 100 ✓
D) 125
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
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%
Options:
A) 28
B) 30 ✓
C) 32
D) 34
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
Options:
A) ₹50
B) ₹100 ✓
C) ₹150
D) ₹200
Options:
A) 3
B) 4
C) 5 ✓
D) 6
Options:
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)
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
Options:
A) UKUVGT ✓
B) TKUTGS
C) TJTUGS
D) UKUTGS
Options:
A) S
B) R ✓
C) Q
D) P
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
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
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.
Options:
A) Malicious
B) Kind ✓
C) Angry
D) Sad
Options:
A) Plentiful
B) Scarce ✓
C) Sufficient
D) Ample
Q23. Fill in the blank: She is _____ intelligent than her brother.
Options:
A) much
B) more ✓
C) very
D) most
Options:
A) Accommodate ✓
B) Accomodate
C) Acomodate
D) Acommodate
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".
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
Options:
A) Difficult task
B) Easy task ✓
C) Delicious food
D) Birthday celebration
Q28. Choose the passive voice: "The teacher teaches the students."
Options:
Options:
A) Bibliophile ✓
B) Philanthropist
C) Narcissist
D) Hedonist
Options:
A) in
B) at ✓
C) on
D) with
Options:
A) 3.33
B) 3 ✓
C) 4
D) 3.0
Options:
A) Queue
B) Stack ✓
C) Array
D) Linked List
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).
Options:
Options:
A) Python
B) Java
C) HTML ✓
D) C++
Options:
A) 2 bytes
B) 4 bytes ✓
C) 8 bytes
D) Depends on compiler
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).
Options:
Options:
A) for
B) while
C) do-while
D) repeat-until ✓
Solution: Encapsulation is wrapping data and methods together and hiding implementation
details.
Options:
A) GET
B) FETCH
C) SELECT ✓
D) RETRIEVE
Options:
Options:
A) CREATE
B) ALTER
C) DROP
D) INSERT ✓
Solution: INSERT is a DML (Data Manipulation Language) command, not DDL.
Options:
Options:
A) FILTER
B) WHERE ✓
C) HAVING
D) SELECT
Options:
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.
Options:
Solution: Index is used to speed up the retrieval of data from database tables.
Options:
A) PRIMARY KEY
B) FOREIGN KEY
C) UNIQUE ✓
D) CHECK
Options:
A) A single operation
B) A sequence of operations performed as a single unit ✓
C) A table
D) A query
SECTION 6: NETWORKING
Q51. What does IP stand for?
Options:
A) Internet Protocol ✓
B) Internal Protocol
C) Internet Process
D) International Protocol
Options:
A) Physical Layer
B) Data Link Layer
C) Network Layer ✓
D) Transport Layer
Options:
A) [Link] to [Link] ✓
B) [Link] to [Link]
C) [Link] to [Link]
D) [Link] to [Link]
Options:
A) 21
B) 22
C) 80 ✓
D) 443
Options:
A) HTTP
B) FTP
C) HTTPS ✓
D) SMTP
Options:
Options:
A) Router
B) Switch ✓
C) Hub
D) Repeater
Options:
Options:
A) HTTP
B) FTP
C) SMTP ✓
D) TCP
Solution: SMTP (Simple Mail Transfer Protocol) is used for sending emails.
Options:
Solution: Bandwidth is the maximum rate of data transfer across a given path.
Options:
A) Memory Management
B) Process Management
C) Virus Protection ✓
D) File Management
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.
Options:
A) Round Robin
B) FCFS ✓
C) Priority Scheduling
D) Multilevel Queue
Options:
A) RAM
B) Using disk space as extended RAM ✓
C) ROM
D) Cache memory
Options:
Solution: Thrashing occurs when system spends more time paging than executing.
A) ls
B) ps ✓
C) cd
D) pwd
Options:
A) A synchronization tool ✓
B) A memory allocation technique
C) A file system
D) A network protocol
Options:
A) Permanent storage
B) Speed up data access ✓
C) Backup data
D) Virtual memory
Options:
A) MS-DOS
B) Linux ✓
C) Windows 95
D) Android
Options:
Solution: Context switching is the process of storing and restoring the state of a process.
Options:
A) Inorder
B) Preorder ✓
C) Postorder
D) Level order
Solution: Preorder traversal visits root first, then left subtree, then right subtree.
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.
Options:
A) Stack
B) Queue ✓
C) Tree
D) Graph
Options:
Solution: Complete binary tree has all levels filled except possibly the last level, which is
filled from left to right.
Options:
A) Array
B) Linked List ✓
C) Stack
D) Queue
Options:
Solution: Hash collision occurs when two different keys produce the same hash value.
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
Options:
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
Options:
Options:
Options:
A) LIFO
B) FIFO ✓
C) Random
D) Priority
Solution: Breadth First Search follows FIFO (First In First Out) principle using queue.
Options:
A) Linear Search
B) Tower of Hanoi ✓
C) Bubble Sort
D) All of the above
Options:
Solution: Backtracking tries all possibilities and backtracks when a solution path fails.
Options:
A) Dijkstra's
B) Kruskal's ✓
C) Binary Search
D) Quick Sort
Options:
A) O(1) ✓
B) O(log n)
C) O(n)
D) O(n²)
Options:
A) Linear Search
B) Binary Search ✓
C) DFS
D) BFS
Options:
Options:
Options:
A) ROM
B) Hard Disk
C) RAM ✓
D) SSD
Solution: RAM (Random Access Memory) is volatile and loses data when power is off.
Options:
A) Byte
B) Bit ✓
C) Nibble
D) Word
Options:
A) 4
B) 8 ✓
C) 16
D) 32
Options:
A) Monitor
B) Printer
C) Keyboard ✓
D) Speaker
Solution: Keyboard is an input device used to enter data.
Options:
Options:
A) Binary
B) Octal
C) Decimal
D) Hexadecimal ✓
Options:
Q99. Which gate gives output 1 only when all inputs are 1?
Options:
A) OR
B) AND ✓
C) NOT
D) XOR
Options:
A) Bytes
B) Hertz ✓
C) Watts
D) Volts
Options:
A) Planning
B) Design
C) Marketing ✓
D) Testing
Options:
Options:
Options:
Options:
A) Waterfall
B) Scrum ✓
C) V-Model
D) Spiral
Options:
Solution: Version control manages changes to code and tracks different versions.
Q107. What is regression testing?
Options:
Solution: Regression testing ensures existing functionality still works after changes.
Options:
A) A time-boxed iteration ✓
B) A testing phase
C) A design phase
D) A deployment phase
Options:
Options:
Solution: Code review is systematic examination of code by peers to find defects and
improve quality.
Options:
Options:
A) <h1> ✓
B) <h6>
C) <heading>
D) <head>
Options:
Options:
A) Django
B) React ✓
C) Laravel
D) Spring
Options:
Options:
A) GET
B) POST ✓
C) PUT
D) DELETE
Options:
Options:
A) HTML
B) CSS
C) Python ✓
D) JavaScript (frontend)
Options:
A) A CSS framework ✓
B) A JavaScript library
C) A database
D) An operating system
Options:
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.
Options:
A) Microsoft
B) AWS ✓
C) Intel
D) Cisco
Options:
A) Infrastructure as a Service ✓
B) Internet as a Service
C) Information as a Service
D) Integration as a Service
Options:
A) Public Cloud
B) Private Cloud
C) Hybrid Cloud
D) Local Cloud ✓
A) Software as a Service ✓
B) Security as a Service
C) Storage as a Service
D) System as a Service
Options:
A) SaaS
B) PaaS
C) IaaS ✓
D) DaaS
Options:
Options:
A) Amazon
B) Google
C) Microsoft ✓
D) IBM
Options:
Options:
Solution: Cloud storage stores data on remote servers accessible via internet.
Options:
Solution: Encryption converts data into coded form to prevent unauthorized access.
Options:
Solution: Firewall is a security system that monitors and controls network traffic.
Options:
A) Catching fish
B) Fraudulent attempt to obtain sensitive information ✓
C) Network error
D) Virus type
Options:
Options:
A) Malicious software ✓
B) Mail software
C) Male software
D) Main software
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.
Options:
Solution: Ransomware encrypts victim's files and demands ransom payment for decryption.
Options:
Solution: SSL stands for Secure Sockets Layer, used for secure communication.
Options:
Solution: DDoS (Distributed Denial of Service) overwhelms a system with traffic from
multiple sources.
Q140. What is a strong password characteristic?
Options:
Options:
A) Artificial Intelligence ✓
B) Automated Intelligence
C) Advanced Intelligence
D) Applied Intelligence
Options:
Solution: Machine learning enables systems to learn and improve from experience without
explicit programming.
Options:
A) K-means
B) Linear Regression ✓
C) Apriori
D) PCA
Options:
A) Computer networks
B) Human brain ✓
C) Internet
D) Cloud
Solution: Neural networks are inspired by biological neural networks in human brain.
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.
Options:
A) Classification
B) Regression
C) Clustering ✓
D) All of above
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.
Options:
Solution: Training set is data used to train and teach machine learning model.
Options:
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
A) 11
B) 13 ✓
C) 15
D) 16
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
Options:
A) 22 ✓
B) 24
C) 48
D) 12
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
Options:
A) 64
B) 204 ✓
C) 256
D) 100
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
Options:
A) 10
B) 20 ✓
C) 30
D) 40
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
Options:
A) 5 days
B) 15 days
C) 20 days ✓
D) 25 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
Options:
A) 120 km
B) 130 km
C) 140 km
D) 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
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
Options:
A) 45 km/h
B) 48 km/h ✓
C) 50 km/h
D) 52 km/h
Options:
A) 1/6
B) 1/3
C) 1/2 ✓
D) 2/3
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
Options:
A) 1/12
B) 1/6 ✓
C) 1/4
D) 1/3
Options:
A) 1/52
B) 1/26
C) 1/13 ✓
D) 1/4
Options:
Solution: Polymorphism means ability to take many forms, allowing methods to do different
things.
Options:
Solution: Inheritance allows a class to acquire properties and methods from another class.
Options:
Solution: Abstraction hides complex implementation and shows only necessary information.
Q179. What is an interface in Java?
Options:
Solution: Interface is a completely abstract class that contains only abstract methods.
Options:
Options:
Solution: Constructor is a special method called when object is created to initialize it.
Options:
Options:
Options:
Solution: Static variable belongs to class rather than instances and is shared among all
objects.
Options:
Options:
Options:
Options:
Solution: Array is a data structure that stores collection of elements of same type.
Options:
Options:
Solution: In Java, == compares object references while equals() compares object content.
Options:
Solution: Final keyword restricts modification: variable becomes constant, method cannot be
overridden, class cannot be inherited.
Options:
Solution: Abstract class cannot be instantiated and may contain abstract methods.
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.
Options:
Options:
Solution: HashMap stores data in key-value pairs and uses hashing for fast access.
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
Q198. (0.2)³ = ?
Options:
A) 0.006
B) 0.008 ✓
C) 0.02
D) 0.06
Options:
A) 3.5
B) 4
C) 4.5 ✓
D) 5
Options:
A) 24
B) 36 ✓
C) 48
D) 54
Solution: 12 = 2²×3, 18 = 2×3². LCM = 2²×3² = 36
Options:
A) 5
B) 10 ✓
C) 15
D) 20
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
Options:
A) 10%
B) 15%
C) 20% ✓
D) 25%
Options:
A) 50
B) 55
C) 60 ✓
D) 65
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
Options:
Solution: Big data refers to extremely large datasets that traditional data processing software
cannot handle.
Options:
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.
Options:
Solution: DevOps is a culture combining software development and IT operations for faster
delivery.
Options:
A) Containerization platform ✓
B) Documentation tool
C) Database
D) Programming language
Options:
Options:
Solution: REST API is an architectural style for designing networked applications using
HTTP requests.
Options:
Solution: JSON is a lightweight data interchange format that is easy for humans and
machines to read/write.
Options:
Options:
Solution: CI/CD automates software delivery process from code integration to deployment.
Options:
A) 36
B) 40
C) 42 ✓
D) 48
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
Options:
A) EV ✓
B) EU
C) FV
D) FU
Options:
A) ORNL
B) OROM
C) QROM
D) QROL ✓
Options:
Solution: Following logical deduction: All birds fly, sparrow is bird, therefore sparrow can
fly.
Options:
A) 9:00 ✓
B) 3:00
C) 6:00
D) 12:00
Options:
A) 8
B) 12
C) 16
D) Variable ✓
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.
Options:
A) Bill Gates
B) Steve Jobs
C) Charles Babbage ✓
D) Alan Turing
Solution: Charles Babbage designed the Analytical Engine, considered first computer.
Options:
Options:
A) RAM
B) CPU ✓
C) Hard Disk
D) Monitor
Options:
A) RAM
B) Cache ✓
C) ROM
D) Hard Disk
Options:
Options:
A) Apple
B) Microsoft ✓
C) Google
D) IBM
Options:
A) .txt
B) .pdf
C) .docx ✓
D) .xlsx
Solution: Microsoft Word documents use .docx extension (or .doc for older versions).
Options:
Options:
A) FTP
B) SMTP
C) HTTP ✓
D) TCP
Options:
Options:
A) Anonymous function ✓
B) Named function
C) Main function
D) Nested function
Options:
Options:
Options:
Solution: GET appends parameters to URL, POST sends data in request body (more secure).
Options:
Options:
Options:
Solution: Closure is when inner function has access to outer function's variables.
Options:
A) Variable/function declarations moved to top ✓
B) Lifting objects
C) Raising errors
D) Moving code
Options:
Options:
Solution: DOM stands for Document Object Model, programming interface for HTML
documents.
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%
Options:
A) ₹200
B) ₹210 ✓
C) ₹220
D) ₹250
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%
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
Options:
Solution: Load balancing distributes incoming network traffic across multiple servers.
Options:
Options:
Solution: Horizontal scaling (scale-out) means adding more machines to distribute load.
Options:
Solution: Vertical scaling (scale-up) means adding more CPU, RAM to existing machine.
Options:
Solution: Sharding splits large database into smaller, faster pieces across multiple servers.
Options:
Options:
Solution: Index is data structure that improves speed of data retrieval operations.
Options:
Solution: Eventual consistency means system will become consistent over time without
immediate updates.
Options:
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
Options:
A) E
B) F ✓
C) 10
D) A
Options:
A) 1010
B) 1011 ✓
C) 0101
D) 1100
Options:
A) Star
B) Ring
C) Square ✓
D) Mesh
Options:
Options:
Options:
A) Physical
B) Data Link
C) Network ✓
D) Transport
Options:
A) Windows
B) Google ✓
C) Linux
D) Oracle
Options:
Solution: Compiler translates entire source code into machine code before execution.
Options:
Solution: Compiler translates entire code at once, interpreter translates and executes line by
line.
Q272. What is syntax error?
Options:
Solution: Syntax error occurs when code violates programming language rules.
Options:
Solution: Runtime error occurs during program execution, like division by zero.
Options:
Solution: Logical error means program compiles and runs but gives incorrect results.
Options:
Options:
Options:
Options:
A) Rectangle
B) Oval/Ellipse ✓
C) Diamond
D) Parallelogram
Options:
A) Rectangle
B) Oval
C) Diamond ✓
D) Circle
Options:
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.
Options:
Solution: Git is distributed version control system for tracking code changes.
Q283. What is GitHub?
Options:
Solution: GitHub is cloud-based platform for hosting and collaborating on Git repositories.
Options:
Options:
Options:
Options:
Options:
Options:
A) HTTP Secure ✓
B) High Transfer Protocol Secure
C) Hypertext Transfer Protocol System
D) HTTP Transfer Secure
Options:
Solution: Cookie is small piece of data stored on user's computer by web browser.
Options:
Solution: Session maintains state about user across multiple requests on server side.
Options:
Solution: Token-based authentication uses generated tokens instead of credentials for each
request.
Options:
Solution: Singleton ensures class has only one instance with global access point.
Solution: Factory pattern creates objects without exposing creation logic to client.
Options:
Options:
Options:
Options:
Solution: Integration testing verifies that different modules work together correctly.
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.
Options:
Solution: CI automatically builds and tests code when changes are committed.
Options:
Options:
Solution: Code coverage measures how much code is executed during testing.
Options:
Options:
Solution: Technical debt is implied cost of future rework caused by choosing easy solution
now.
Options:
Solution: Pair programming has two developers work together, one writing code, other
reviewing.
Options:
Solution: Code review is peer review of code to find defects and improve quality.
Options:
Options:
Solution: User story describes feature from end-user perspective: "As a [user], I want [goal]".
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.
Options:
� 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)
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 .