Home Subjects Placement Papers

Placement Papers

TCS, Infosys, Wipro, Cognizant actual papers

271 Q 10 Topics Take Test
Advertisement
Difficulty: All Easy Medium Hard 61–70 of 271
Topics in Placement Papers
Q.61 Easy Capgemini Questions Capgemini
In SQL, which keyword is used to remove duplicate rows from query results?
A UNIQUE
B DISTINCT
C REMOVE
D DELETE
Correct Answer:  B. DISTINCT
EXPLANATION

The DISTINCT keyword in SQL removes duplicate rows from the result set. Example: SELECT DISTINCT column FROM table;

Take Test
Q.62 Easy Capgemini Questions Capgemini
Choose the option with the correct spelling:
A Occassion
B Occation
C Occasion
D Ocasion
Correct Answer:  C. Occasion
EXPLANATION

The correct spelling is 'Occasion' with double 'c' and double 's'. This is a common spelling error in English.

Take Test
Q.63 Easy Capgemini Questions Capgemini
Select the word that best completes the analogy: Teacher is to Student as Doctor is to ___
A Patient
B Medicine
C Hospital
D Nurse
Correct Answer:  A. Patient
EXPLANATION

A teacher instructs a student, similarly a doctor treats a patient. The relationship is one of professional service provider to recipient.

Take Test
Q.64 Easy Capgemini Questions Capgemini
In a coding system, CAT = 3, DOG = 4, ELEPHANT = 8. What would SNAKE equal?
A 4
B 5
C 6
D 7
Correct Answer:  B. 5
EXPLANATION

The code represents the number of letters in the word. SNAKE has 5 letters, so SNAKE = 5.

Take Test
Q.65 Easy Capgemini Questions Capgemini
Which of the following is the odd one out based on the pattern?
5, 10, 20, 40, 80, 160, 320, ?
A 480
B 560
C 640
D 720
Correct Answer:  C. 640
EXPLANATION

Each number is multiplied by 2. The sequence is 5×2^n. The next number should be 320×2 = 640. This is a geometric progression with ratio 2.

Take Test
Q.66 Easy Capgemini Questions Capgemini
In a sequence, each number is the sum of the previous two numbers. If the first two numbers are 1 and 1, what is the 7th number?
A 11
B 13
C 15
D 17
Correct Answer:  B. 13
EXPLANATION

Fibonacci sequence: 1, 1, 2, 3, 5, 8, 13. The 7th number is 13.

Take Test
Q.67 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.68 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.69 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.70 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
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