Home / Placement aptitude / Pseudocode and Algorithm Tracing
Practice: Pseudocode and Algorithm Tracing
Job Preparation • IT Placement Readiness Try 5 sample questions with instant feedback.
Question 1 of 5Job Preparation • IT Placement Readiness • Pseudocode and Algorithm Tracing
Question 1
What does this print?
1 a <- [4, 1, 3, 2]
2 for i from 1 to 3
3 if a[i] > a[i + 1]
4 swap a[i] and a[i + 1]
5 print a5 sample questions · No signup needed
Progress is kept in this tab until you finish.