Home Subjects Placement Papers

Placement Papers

TCS, Infosys, Wipro, Cognizant actual papers

312 Q 10 Topics Take Test
Advertisement
Difficulty: All Easy Medium Hard 61–70 of 312
Topics in Placement Papers
Q.61 Medium Cognizant Questions Cognizant
What is the difference between var, let, and const in JavaScript?
A No difference
B var is function-scoped, let/const are block-scoped, const cannot be reassigned
C const cannot be used
D let is obsolete
Correct Answer:  B. var is function-scoped, let/const are block-scoped, const cannot be reassigned
EXPLANATION

var has function scope, let/const have block scope. const prevents reassignment but let allows it

Take Test
Q.62 Medium Cognizant Questions Cognizant
In a class, the ratio of boys to girls is 3:2. If there are 45 students in total, how many girls are there?
A 15
B 18
C 25
D 30
Correct Answer:  B. 18
EXPLANATION

Boys:Girls = 3:2, total parts = 5. Girls = (2/5) × 45 = 18

Take Test
Q.63 Medium Cognizant Questions Cognizant
If a number is multiplied by 0.5 and then by 4, what percentage of the original number is the result?
A 100%
B 150%
C 200%
D 250%
Correct Answer:  C. 200%
EXPLANATION

Let original = x. After operations: x × 0.5 × 4 = 2x = 200% of x

Take Test
Q.64 Medium Cognizant Questions Cognizant
Which of the following is a characteristic of Microservices architecture?
A Single large monolithic codebase
B Small, independent, loosely coupled services
C Tightly integrated components
D Single database for all services
Correct Answer:  B. Small, independent, loosely coupled services
EXPLANATION

Microservices architecture emphasizes small, independent services that communicate through APIs

Take Test
Q.65 Medium Cognizant Questions Cognizant
What is the main purpose of normalization in databases?
A To increase query speed
B To reduce data redundancy
C To add more tables
D To encrypt data
Correct Answer:  B. To reduce data redundancy
EXPLANATION

Database normalization organizes data to minimize redundancy and improve data integrity

Take Test
Q.66 Medium Cognizant Questions Cognizant
What is the output of: System.out.println(10 / 3) in Java?
A 3.333
B 3
C 3.33
D 4
Correct Answer:  B. 3
EXPLANATION

Both operands are integers, so integer division is performed: 10 / 3 = 3 (truncated)

Take Test
Q.67 Medium Cognizant Questions Cognizant
Which sorting algorithm has the best average case time complexity?
A Bubble Sort
B Quick Sort
C Insertion Sort
D Selection Sort
Correct Answer:  B. Quick Sort
EXPLANATION

Quick Sort has O(n log n) average case complexity, which is optimal among comparison-based sorts

Take Test
Q.68 Medium Cognizant Questions Cognizant
Antonym of 'Verbose' is:
A Detailed
B Precise
C Concise
D Extensive
Correct Answer:  C. Concise
EXPLANATION

Verbose means using more words than necessary. Concise is its opposite—using few words

Take Test
Q.69 Medium Cognizant Questions Cognizant
Select the word that is most similar in meaning to 'Benign':
A Harmful
B Friendly
C Strict
D Complex
Correct Answer:  B. Friendly
EXPLANATION

Benign means harmless, kind, or gentle. Friendly is the closest synonym

Take Test
Q.70 Medium Cognizant Questions Cognizant
If ROSE is coded as 4567, then PETAL is coded as?
A 98214
B 89214
C 98124
D 89124
Correct Answer:  B. 89214
EXPLANATION

R=4, O=5, S=6, E=7. Following alphabet position: P=1(9), E=7(8), T=2(9→2 with shift), A=1, L=4. PETAL = 89214

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