Infosys Certified L2 Junior Open Source Programmer
Practice with real exam-pattern questions for Infosys Certified L2 Junior Open Source Programmer. 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 Open Source Programmer practice questions with answers
Real Lex exam-pattern multiple-choice questions for the Infosys Certified L2 Junior Open Source Programmer certification. Each question includes the correct answer. The full question bank is available to Premium members.
- Question 1
Calculate total size of file data that can be addressed through only triple indirect pointer, using the inode table with 10 direct, one single indirect, one double indirect and one triple indirect pointers.
Assume block size of 1024 bytes and pointer size of 4 bytes.
- ✓ 64 MB Correct
- B 16 GB
- C 16 MB
- D 8 GB
- Question 2
Observe the below listing of two files in current working directory:
$ ls
$ FILENAMDAT filenam txt
What does the below command do when executed?
$>rm -i filenam*
- ✓ Will remove both the files as case-insensitive match occurs Correct
- B
Will directly remove only filenam
txt - C
Will interactively remove only filenam
txt - D Will interactively remove both the files
- Question 3
Bob has written a Shell program to calculate the salary of ABC
Organization and mail the calculated salary to the employees. Bob assured
that there will be no human intervention required to run the shell program.
Manager of Bob, decided to run this shell program on the last working day of
every month and he wants to view the run time errors after the execution of
this shell script. Suggest him the solution
- ✓ sh filename.sh 1> errorLog.txt Correct
- B sh filename.sh 1>> errorLog.txt
- C sh filename.sh 2>> errorLog.txt
- D sh filename.sh 0> errorLog.txt
- Question 4
Which of the following statement is used to find the length of the array in PERL?
- ✓ $#arrayname Correct
- B $#arrayname-1
- C $#arrayname+1
- D $arrayname+1
- Question 5
Which of the following statement is true with respect to PERL commands?
- ✓ 'last' statement exits the loop and continue block is not executed if present Correct
- B 'redo' statement restarts the loop and continue block is executed if present
- C 'next' statement restarts the loop and continue block is not executed if present
- D 'die' statement exits the loop and continue block is not executed if present
- Question 6
In PERL scripting, What does the default array @_ stores?
- ✓ Command line arguments Correct
- B Arguments during subroutine call
- C List of defined arrays in the script
- D List of defined hashes in the script
- Question 7
What is the scope of a variable in Perl whether defined inside or outside the function in Perl?
- ✓ Local Correct
- B Global
- C Within the block
- D Dynamic
- Question 8
Which of the following statements are true about PERL?
- ✓ Perl can be used as a Client Side Scripting Language only Correct
- B Perl can be used as a Server Side Scripting Language
- C Both a and b
- D None of above
- Question 9
%hash=(1,2,3,4,5,6);
$hash{3}=0;
$hash{2}=9;
print join(",",%hash);
The output of the above script is:
- ✓ 1,2,9,3,0,5,6 Correct
- B 1,2,2,9,3,0,5,6
- C 1,2,3,4,5,6,9
- D 2,3,1,9,4,0,5,6
- Question 10
Identify correct syntax for expression modifier in Perl- ✓ expression if (condition); Correct
- B expression; if (condition);
- C if (condition) expression;
- D expression && if(condition);
More in Open Source
Infosys Certified Elasticsearch Developer
Infosys Certified PostgreSQL Associate
Infosys Certified PHP Associate
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.