It was a one hour long descriptive test with six questions. The first four carries 5 marks each and remaining two carries 10 marks each.
- You are given a character string . Write the algo to print the character with maximum occurence and print that number of occurence too.
Eg: i am an hacker --> output should be 'a' 3 times - Give the output of the following code:
#include<iostream> using namespace std; int main() { int a=10,b=2; b=a+++a; cout<<b<<" "<<a"\n"; return 0; }
- Give the pseudocode for finding the factorial of a given integer.Make sure that the number should be of atmost two digits.
- What is Early binding and Late binding.
- You are given with a tree. Write the algo to make sure that it is a binary tree.
- You are given with a software application to send an email. write the testcases to check the working of the software. (There was a picture here ..showing the working of email sender application.i cant waste time by drawing it.)