Infosys Certified L2 Junior React Developer
Practice with real exam-pattern questions for Infosys Certified L2 Junior React Developer. Each question includes a detailed explanation to help you understand the concept, not just memorise the answer. Try 10 questions free — no login required.
Full question bank for this exam + 1,357+ others. Cancel anytime.
Join Premium10 Infosys Certified L2 Junior React Developer practice questions with answers
Real Lex exam-pattern multiple-choice questions for the Infosys Certified L2 Junior React Developer certification. Each question includes the correct answer. The full question bank is available to Premium members.
- Question 1
What is the primary function of the forEach() method ?
- ✓To iterate over each element in an array and execute a specified action for each element.Correct
- BTo arrange the values in an array in ascending or descending order.
- C To identify the index of a particular element within an array.
- DTo generate a new array based on the values in an existing array.
- Question 2
When should you use the "let" keyword instead of the "var" keyword ?
- ✓Always.Correct
- BWhen you want to declare a variable that is only accessible within a block.
- CWhen you want to declare a variable that is accessible throughout a function or class.
- D When you want to redeclare a variable.
- Question 3
What is the difference between the scoping of a "let" and a "var" declared variable ?
- ✓A let declared variable is globally accessible, while a var declared variable is locally accessible.Correct
- BA let declared variable is locally accessible, while a var declared variable is globally accessible
- CA let declared variable is block-scoped, while a var declared variable is function-scoped.
- DA let declared variable is function-scoped, while a var declared variable is block-scoped.
- Question 4
What is the output of the following code snippet ?
enum cricketers { Sachin = 10, Rahul, Sourav = Rahul + 15 }; console.log(cricketers.Sourav);- ✓25 Correct
- B26
- C15
- D None of the above
- Question 5
What is the output of the following code snippet ?
let numbers = [1, 2, 3, 4, 5, 6, 7, 8, 9]; let result = numbers.find(number => number % 2 == 0); console.log(result);- ✓ [ 2, 4, 6, 8 ]Correct
- B[ 2 ]
- C 2, 4, 6, 8
- D2
- Question 6
What is the output of the following code snippet ?
let states = ["Maharashtra", "Gujarat", "Kerala", "Punjab"]; let result = states.filter(state => state.length > 8); console.log(result);- ✓Maharashtra Correct
- B'Maharashtra'
- C [ 'Maharashtra' ]
- DNone of the above
- Question 7
Consider the following TypeScript code snippet. What will be logged to the console?
let arr: number[] = [1, 2, 3, 4];
let newArr: number[] = arr;
newArr[0] = 0;
console.log(arr[0]);
- ✓
0
Correct - B
1
- C
2
- D
3
- ✓
- Question 8
What will be the output of the following TypeScript code?
let fruits: string[] = ["apple", "orange", "banana"];
let removed = fruits.splice(1, 1, "grape", "kiwi");
console.log(removed.length);
- ✓
1
Correct - B
2
- C
3
- D
4
- ✓
- Question 9
What will be logged to the console in the following TypeScript code?
let nums: number[] = [1, 2, 3, 4, 5];
let sliced = nums.slice(1, 3);
console.log(nums.length);
- ✓
2
Correct - B
3
- C
4
- D
5
- ✓
- Question 10
What is the output of the following TypeScript code?
function mystery(a: number, b: number, ...rest: number[]): number {
return a * b + rest.reduce((acc, val) => acc + val, 0);
}
const result = mystery(2, 3, 4, 5);
console.log(result);
- ✓
Error: Expected 2 arguments, but got 4
Correct - B
15
- C
17
- D
30
- ✓
Pay once. Clear every cert this year.
One subscription, full Telegram channel access, every PDF posted during your membership.
- Full access to all 1,357+ certifications
- Monthly updated question banks
- Telegram private channel access
- Cancel anytime
- Everything in Monthly
- Save ₹2,100 vs monthly billing
- Priority answer key requests
- Best for increasing DQ score fast
- Everything in Quarterly
- Lifetime channel access — no renewals
- All future certifications included
- Priority response from admin team
Common questions, straight answers.
A monthly-updated Telegram channel where we post real exam-pattern question banks and detailed answer keys for 1,357+ Infosys Lex certifications. You join once, you get every PDF posted during your membership.
Right after payment on our Graphy page, you'll receive a private invite link to the Telegram channel. Access is instant — usually under 30 seconds.
We compile question banks from the actual Lex test pattern, sourced and verified by 180K+ community members who've recently cleared these exams. Match rate is consistently 85–95%.
Every single month. When Infosys rolls out new versions of certifications, we post updated dumps within 7–10 days. You'll see channel activity weekly.
Clearing certifications is one of the highest-weighted DQ factors. Members typically clear 3–5 certifications in their first 3 months, which moves DQ scores up by a full band.