Placement Papers — IBM Questions
TCS, Infosys, Wipro, Cognizant actual papers
22 Questions 12 Topics Take Test
Advertisement
Showing 1–10 of 22 questions in IBM Questions
Q.1 Easy IBM Questions IBM
If the compound interest on ₹8,000 at 10% per annum for 2 years is compounded annually, find the compound interest earned.
A ₹1,680
B ₹1,800
C ₹800
D ₹1,600
Correct Answer:  A. ₹1,680
EXPLANATION

CI = P(1 + r/100)^n - P = 8000(1 + 10/100)^2 - 8000 = 8000(1.1)^2 - 8000 = 8000(1.21) - 8000 = 9,680 - 8,000 = ₹1,680.

Take Test
Q.2 Easy IBM Questions IBM
What is the value of log₂(8)?
A 2
B 3
C 4
D 8
Correct Answer:  B. 3
EXPLANATION

log₂(8) means 2^? = 8. Since 2³ = 8, the answer is 3

Take Test
Q.3 Easy IBM Questions IBM
If a string in Python is assigned as s = 'hello', what is the output of s[1:4]?
A 'ell'
B 'llo'
C 'hell'
D 'ello'
Correct Answer:  A. 'ell'
EXPLANATION

String slicing s[1:4] returns characters from index 1 to 3 (4 is exclusive): 'e', 'l', 'l' = 'ell'

Take Test
Q.4 Easy IBM Questions IBM
What is an exception in programming?
A A feature that all programs must have
B An error that occurs during program execution that disrupts normal flow
C A special type of variable
D A comment in the code
Correct Answer:  B. An error that occurs during program execution that disrupts normal flow
EXPLANATION

An exception is an event that occurs during program execution that disrupts the normal flow, requiring special handling

Take Test
Q.5 Easy IBM Questions IBM
What does API stand for?
A Application Programming Instruction
B Application Programming Interface
C Advanced Programming Integration
D Application Process Integration
Correct Answer:  B. Application Programming Interface
EXPLANATION

API stands for Application Programming Interface - a set of rules that allows different applications to communicate

Take Test
Q.6 Easy IBM Questions IBM
What is the main purpose of version control systems like Git?
A To compress files
B To track changes in code and enable collaboration
C To encrypt code
D To execute code
Correct Answer:  B. To track changes in code and enable collaboration
EXPLANATION

Version control systems track code changes over time and facilitate team collaboration by managing different versions

Take Test
Q.7 Easy IBM Questions IBM
Which protocol is used for secure web communication?
A HTTP
B FTP
C HTTPS
D SMTP
Correct Answer:  C. HTTPS
EXPLANATION

HTTPS is HTTP with encryption/security using SSL/TLS protocols for secure communication

Take Test
Q.8 Easy IBM Questions IBM
Which data structure uses LIFO (Last-In-First-Out)?
A Queue
B Stack
C Array
D Linked List
Correct Answer:  B. Stack
EXPLANATION

A Stack uses LIFO principle where the last element added is the first one to be removed

Take Test
Q.9 Easy IBM Questions IBM
What is the output of: print(10 // 3) in Python?
A 3
B 3.33
C 4
D Error
Correct Answer:  A. 3
EXPLANATION

The '//' operator performs floor division, which returns 3 (the integer part of 10/3)

Take Test
Q.10 Easy IBM Questions IBM
Which of the following best describes SQL?
A A programming language for web development
B A language for managing and querying databases
C A markup language for creating web pages
D A platform for cloud computing
Correct Answer:  B. A language for managing and querying databases
EXPLANATION

SQL (Structured Query Language) is used for managing and querying relational databases

Take Test
IGET
iget AI
Online · Ask anything about exams
Hi! 👋 I'm your iget AI assistant.

Ask me anything about exam prep, MCQ solutions, study tips, or strategies! 🎯
UPSC strategy SSC CGL syllabus Improve aptitude NEET Biology tips