SGCL Assistant Programmer 2020 – Written question & solution

Questions from the SGCL Assistant Programmer recruitment exam, 2020 – Written, shared by the candidates who sat it. The paper: 4 written questions. So far 4 written questions have been shared. Topics include Coding, Operating System and Algorithm.

Written (4)

  1. Find the Output: a[5] = {2,3,1,4,0}; for(i=0; i<5; i++){ a[a[i]]=a[i]; } for(i=0;i<5; i++){ System.out.println(i+ ""); }
  2. Calculate the average waiting time and total turn around time in: (i) Non Preemptive SJF (ii) Preemptive SJF Use the following processes…
  3. Write java program for calculate electricity bill using class and object.
  4. নিচের Graph থেকে যে কোন একটি algorithm ব্যবহার করে shortest path বের করার পদ্ধতি ব্যাখ্যা কর। The graph is undirected; the number on each…