Professional Documents
Culture Documents
Cse Sample Qus 2
Cse Sample Qus 2
1. Suppose you are implementing a program for your class that manages the 4
Exam Schedule (CT routine) for the whole semester. The program should
allow the students to search for the date of any course based on the course
titles.
a) Explain how you would use if-else statements to implement the search
functionality.
b) Discuss how you would use a switch case statement to implement the
search functionality.
for(i=0;i<2;i++)
{
for(j=0;j<5;j++)
{
for(k=0;k<9;k++)
{
printf(“HELLO\n”);
}
printf(“World\n”);
}
}
3. (72)8 + (11101110)2 – 36 = (?)5 4
4. Consider the equation (123)5 = (x8)y with x and y as unknowns. Find out 4
all possible values of x and y.