SlideShare a Scribd company logo
1 of 10
Download to read offline
Page 1 of 10
Section A – 25 Questions (25 Marks)
Multiple Choice Questions, No Negative Marking, No Partial Marking.
1 Mark for each correct answer
1. Which of the following numbers doesn’t fit the below series.
343, 512, 729, 1000, 1329
a. 512
b. 343
c. 1329
d. 729
2. If in a certain language PROSE is coded as PPOQE, how is LIGHT coded in that code ?
a. LIGFT
b. LGGFT
c. LGGHT
d. LLGFE
3. Raghu tosses a coin 6 times. The probability that the number of times he gets heads will
not be greater than the number of times he gets tails is.
a. 21/64
b. 3/32
c. 41/64
d. 21/32
4. If Praveen and Naveen together can complete a piece of work in 15 days and Naveen
alone in 20 days, in how many days can Praveen alone complete the work?
a. 60
b. 45
c. 40
d. 30
5. A boat running upstream takes 8 hours 48 minutes to cover a certain distance, while it
takes 4 hours to cover the same distance running downstream. What is the ratio
between the speed of the boat and speed of the water current respectively?
a. 2:1
Page 2 of 10
b. 3:2
c. 8:3
d. Cannot be determined
6. Abhi and Vabby take part in a 100 m race. Abhi runs at 5 kmph. Abhi gives Vabby a start
of 8 m (meaning Abhi starts the race when Vabby has already covered 8m) and still
beats him by 8 seconds. The speed of Vabby is:
a. 5.15 kmph
b. 4.14 kmph
c. 4.25 kmph
d. 4.4 kmph
7. A bag contains 2 red, 3 green and 2 blue balls. Two balls are drawn at random. What is
the probability that none of the balls drawn is blue?
a. 10 / 21
b. 11 / 21
c. 5 / 7
d. 2 / 7
8. There is a 60% increase in an amount in 6 years at simple interest. What will be the
compound interest for Rs. 12,000 after 3 years (compounded annually) at the same
rate?
a. 2160
b. 3120
c. 3972
d. 6240
9. The average temperature for Wednesday, Thursday and Friday was 40 degrees celsius.
The average for Thursday, Friday and Saturday was 41 degrees celsius. If the
temperature on Saturday was 42 degree celsius, what was the temperature on
Wednesday?
a. 39
b. 44
c. 38
d. 41
10. A father said to his son, "I was as old as you are at the present at the time of your
birth". If the father's age is 38 years now, the son's age 4 years back was:
a. 34
b. 23
c. 15
Page 3 of 10
d. 19
11. The sum of the first 16 terms of an AP whose first term and third term are 5 and 15
respectively is ?
a. 600
b. 765
c. 640
d. 680
12. . There are two poles, one on each side of the road. The higher pole is 54 m high. From
the top of this pole, the angle of depression of the top and bottom of the shorter pole is
30 and 60 degrees respectively. Find the height of the shorter pole. Use the below
references of the trigonometric table and angle of depression definition.
a. 40m
b. 24m
c. 36m
d. Cannot be determined
13. The difference between a two-digit number and the number obtained by interchanging
the positions of its digits is 36. What is the difference between the two digits of that
number?
a. 3
b. 4
c. 9
d. Cannot be determined
Page 4 of 10
14. What does f1(8) return for this function.
int f1 (int n)
{
if(n == 0 || n == 1)
return n;
else
return (2*f1(n-1) + 3*f1(n-2));
}
a. 1661
b. 59
c. 1640
d. 73
15. What is the output of the below program ?
int main()
{
int a=14;
while(a<20)
{
++a;
if(a>=16 && a<=18)
{
continue;
}
printf("%d ", a);
}
return 0;
}
a. 15 16 17 18 19
b. 15 18 19
c. 15 16 20
d. 15 19 20
16. What does the following program print?
int main ()
{
Page 5 of 10
int i, j;
int a [8] = {1, 2, 3, 4, 5, 6, 7, 8};
for(i = 0; i < 3; i++) {
a[i] = a[i] + 1;
i++;
}
i--;
for (j = 7; j > 4; j--) {
int i = j/2;
a[i] = a[i] - 1;
}
printf ("%d, %d", i, a[i]);
}
a. 2, 3
b. 2, 4
c. 3, 2
d. 3, 3
17. What’s the output of the following program?. Consider int is allocated 2 bytes of
memory in the system.
int main()
{
int a = 5, b = 9, c;
c = a ^ b // ^ means XOR operator
c = c << 2 // << Left shift operator
printf(“%d”, c);
return 0;
}
a. 0
b. 14
c. 48
d. 144
18. Which one of the following is not true?
a. Kernel is the program that constitutes the central core of the operating system
b. Kernel is the first part of operating system to load into memory during booting
Page 6 of 10
c. Kernel is made of various modules which cannot be loaded in the running operating
system.
d. Kernel remains in the memory during the entire computer session
19. In operating systems, an asynchronous call __________________________
a. returns immediately, without waiting for the I/O to complete
b. does not return immediately and waits for the I/O to complete
c. consumes a lot of time
d. is too slow
20. Which of the following is not true about Recursion
a. Program languages internally use the stacks to implement recursion
b. Recursion decrease the time complexity and space complexity of a program
c. All recursive programs can be rewritten without recursion using the stacks
d. Recursive programs result in stack errors (Stack exhaustion) when termination
statements are not defined properly.
21. Below is a piece of code to traverse the elements of a binary tree. Which traversal does
this do?
public void traverse(Tree root)
{
If (root == null) {
return;
}
traverse(root.left());
traverse(root.right());
printf(“%d”, root.data());
}
a. Pre Order Traversal
b. Post Order Traversal
c. In Order Traversal
d. Level Order Traversal
22. Which of the following is not true for the following code segment?
class A
{
Page 7 of 10
private : int sum(int x, int y)
{
return x+y;
}
public: A()
{
}
A(int x, int y)
{
Cout << sum(x,y);
}
};
a. Constructor can be created with zero argument
b. Constructor prints sum, if two parameters are passed with object creation
c. Constructor will give error if float values are passed
d. Constructor will take 0 as default value for parameters if not passed and prints 0 as
sum
23. Which of the following statements is incorrect regarding call by value and call by
reference parameter passing techniques.
a. In call by value, the value of the actual parameter is copied and the copy is passed to
the function.
b. In call by value, actual parameters and functions formal parameters point to the
same memory location
c. In call by reference, actual parameters and functions formal parameters point to the
same memory location.
d. In call by reference, any modifications to the parameters will be reflected in the
calling function.
24. Which key declares that an index in one table is related to that in another?
a. Primary
b. Foreign
c. Secondary
d. Relational
25. Which of the following should be used to find all the courses taught in the Aug 2020
semester but not in the Jan 2021 semester?
Page 8 of 10
a. SELECT COUNT (DISTINCT ID) FROM takes WHERE (course id, sec id, semester, YEAR)
IN (SELECT course id, sec id, semester, YEAR FROM teaches WHERE teaches.ID=
10101);
b. SELECT DISTINCT course id FROM SECTION WHERE semester = ’Aug’ AND YEAR=
2020 AND course id NOT IN (SELECT course id FROM SECTION WHERE semester =
’Jan’ AND YEAR= 2021);
c. SELECT DISTINCT course_id FROM instructor WHERE name NOT IN (’Aug’, ’Jan’);
d. SELECT course id FROM SECTION WHERE semester = 'Jan' AND YEAR= 2021);
Page 9 of 10
Section B – 5 Questions (25 Marks)
Questions 26,27,28 – Fill-in-the-blanks : Each question carries 3 marks
Question 29 – Coding – 6 marks
Question 30 – Coding – 10 marks
26. Reverse a string using recursion. Choose an option to complete.
void reverse(const string & str) {
size_t numOfChars = str.size();
if(numOfChars == 1) {
cout << str << endl;
} else {
cout << str[numOfChars - 1];
reverse( __________FILL_IN_THE_BLANK_________);
}
}
27. Function to convert octal number to decimal. Choose an option to complete.
int octalToDecimal(int octalNumber)
{
int decimalNumber = 0, i = 0, rem;
while (octalNumber != 0)
{
rem = octalNumber % 10;
octalNumber /= 10;
decimalNumber += ___ FILL_IN_THE_BLANK ___;
++i;
}
return decimalNumber;
}
28. The following program finds the maximum value contained in the array P of size n ( n > 1).
Please complete this program by filling the blank.
Page 10 of 10
int a=0, b=n-1;
while (___ FILL_IN_THE_BLANK ___)
{
if (p[a] <= p[b])
{
a = a+1;
}
else
{
b = b-1;
}
}
printf("Max value is %d",p[a])
29. Write a function that takes 2 arguments: numberList (array of integers), baseLine (integer) and
prints the count of elements in numberList that is less than baseLine and count of elements in
numberList that is more than baseLine. Eg: numberList={10,20,30,40,50,60} and baseLine=45,
output should be
Below BaseLine : 4
Above BaseLine: 2
Note: You can write the code in Java or Python
.
30. Write a program that takes a path to a file name as an argument (.txt file), reads the file and
generates a new file that has every alternate line swapped. In the new file, line 2 is line 1 of
original file, line 3 of new file is line 4 of original file, line 4 of new file is line 3 of original file and
so on. In addition to the output, weightage will be given to program structure, code
optimization, error handling, boundary conditions etc.
Note: You can write the code in Java or Python

More Related Content

What's hot

GSP 215 RANK Achievement Education--gsp215rank.com
GSP 215 RANK Achievement Education--gsp215rank.comGSP 215 RANK Achievement Education--gsp215rank.com
GSP 215 RANK Achievement Education--gsp215rank.comclaric169
 
Class 7 maths PAPER
Class 7 maths PAPERClass 7 maths PAPER
Class 7 maths PAPERArvind Saini
 
Mid module review
Mid module reviewMid module review
Mid module reviewmlabuski
 
Module 7 geometric PMR
Module 7 geometric PMRModule 7 geometric PMR
Module 7 geometric PMRroszelan
 
Ece175 computer programming for engineering applications homework assignment ...
Ece175 computer programming for engineering applications homework assignment ...Ece175 computer programming for engineering applications homework assignment ...
Ece175 computer programming for engineering applications homework assignment ...Song Love
 
Assignment solution-week7
Assignment solution-week7Assignment solution-week7
Assignment solution-week7PUSHPALATHAV1
 
Soalan matematik t 1
Soalan matematik t 1Soalan matematik t 1
Soalan matematik t 1Azman Samer
 
Math y1 dlp paper 1
Math y1 dlp paper 1Math y1 dlp paper 1
Math y1 dlp paper 1Wany Hardy
 
Str8ts Weekly Extreme #36 - Solution
Str8ts Weekly Extreme #36 - SolutionStr8ts Weekly Extreme #36 - Solution
Str8ts Weekly Extreme #36 - SolutionSlowThinker
 
Math unit26 solving inequalities
Math unit26 solving inequalitiesMath unit26 solving inequalities
Math unit26 solving inequalitieseLearningJa
 
Data transfer using bipartite graph
Data transfer using bipartite graphData transfer using bipartite graph
Data transfer using bipartite graphSwathiSundari
 
Representation of numbers and characters
Representation of numbers and charactersRepresentation of numbers and characters
Representation of numbers and characterswarda aziz
 
Complex number, polar form , rectangular form
Complex number, polar form , rectangular formComplex number, polar form , rectangular form
Complex number, polar form , rectangular formalok25kumar
 
Mid Year Form 1 Paper 1 2010 Mathematics
Mid Year Form 1 Paper 1 2010 MathematicsMid Year Form 1 Paper 1 2010 Mathematics
Mid Year Form 1 Paper 1 2010 Mathematicssue sha
 
Math y1 dlp paper 2
Math y1 dlp paper 2Math y1 dlp paper 2
Math y1 dlp paper 2Wany Hardy
 
Module 6 Algebric PMR
Module 6 Algebric PMRModule 6 Algebric PMR
Module 6 Algebric PMRroszelan
 
Mcs 10 104 compiler design dec 2014
Mcs 10 104 compiler design dec 2014Mcs 10 104 compiler design dec 2014
Mcs 10 104 compiler design dec 2014Sreeju Sree
 
Crct review
Crct reviewCrct review
Crct reviewmsj1998
 

What's hot (20)

GSP 215 RANK Achievement Education--gsp215rank.com
GSP 215 RANK Achievement Education--gsp215rank.comGSP 215 RANK Achievement Education--gsp215rank.com
GSP 215 RANK Achievement Education--gsp215rank.com
 
Class 7 maths PAPER
Class 7 maths PAPERClass 7 maths PAPER
Class 7 maths PAPER
 
Mid module review
Mid module reviewMid module review
Mid module review
 
Module 7 geometric PMR
Module 7 geometric PMRModule 7 geometric PMR
Module 7 geometric PMR
 
Ece175 computer programming for engineering applications homework assignment ...
Ece175 computer programming for engineering applications homework assignment ...Ece175 computer programming for engineering applications homework assignment ...
Ece175 computer programming for engineering applications homework assignment ...
 
Assignment solution-week7
Assignment solution-week7Assignment solution-week7
Assignment solution-week7
 
Soalan matematik t 1
Soalan matematik t 1Soalan matematik t 1
Soalan matematik t 1
 
Math y1 dlp paper 1
Math y1 dlp paper 1Math y1 dlp paper 1
Math y1 dlp paper 1
 
Str8ts Weekly Extreme #36 - Solution
Str8ts Weekly Extreme #36 - SolutionStr8ts Weekly Extreme #36 - Solution
Str8ts Weekly Extreme #36 - Solution
 
Math unit26 solving inequalities
Math unit26 solving inequalitiesMath unit26 solving inequalities
Math unit26 solving inequalities
 
5th semester Computer Science and Information Science Engg (2013 December) Qu...
5th semester Computer Science and Information Science Engg (2013 December) Qu...5th semester Computer Science and Information Science Engg (2013 December) Qu...
5th semester Computer Science and Information Science Engg (2013 December) Qu...
 
Data transfer using bipartite graph
Data transfer using bipartite graphData transfer using bipartite graph
Data transfer using bipartite graph
 
Representation of numbers and characters
Representation of numbers and charactersRepresentation of numbers and characters
Representation of numbers and characters
 
Complex number, polar form , rectangular form
Complex number, polar form , rectangular formComplex number, polar form , rectangular form
Complex number, polar form , rectangular form
 
Mid Year Form 1 Paper 1 2010 Mathematics
Mid Year Form 1 Paper 1 2010 MathematicsMid Year Form 1 Paper 1 2010 Mathematics
Mid Year Form 1 Paper 1 2010 Mathematics
 
Math y1 dlp paper 2
Math y1 dlp paper 2Math y1 dlp paper 2
Math y1 dlp paper 2
 
Module 6 Algebric PMR
Module 6 Algebric PMRModule 6 Algebric PMR
Module 6 Algebric PMR
 
Mcs 10 104 compiler design dec 2014
Mcs 10 104 compiler design dec 2014Mcs 10 104 compiler design dec 2014
Mcs 10 104 compiler design dec 2014
 
7th Semester (June; July-2015) Computer Science and Information Science Engin...
7th Semester (June; July-2015) Computer Science and Information Science Engin...7th Semester (June; July-2015) Computer Science and Information Science Engin...
7th Semester (June; July-2015) Computer Science and Information Science Engin...
 
Crct review
Crct reviewCrct review
Crct review
 

Similar to Samplepaper

Mid term sem 2 1415 sol
Mid term sem 2 1415 solMid term sem 2 1415 sol
Mid term sem 2 1415 solIIUM
 
Name _______________________________ Class time __________.docx
Name _______________________________    Class time __________.docxName _______________________________    Class time __________.docx
Name _______________________________ Class time __________.docxrosemarybdodson23141
 
Computer programming mcqs
Computer programming mcqsComputer programming mcqs
Computer programming mcqssaadkhan672
 
Mcq+questions+cxc+it
Mcq+questions+cxc+itMcq+questions+cxc+it
Mcq+questions+cxc+itjimkana13
 
GSP 215 RANK Education Your Life--gsp215rank.com
GSP 215 RANK Education Your Life--gsp215rank.comGSP 215 RANK Education Your Life--gsp215rank.com
GSP 215 RANK Education Your Life--gsp215rank.comthomashard64
 
GSP 215 RANK Lessons in Excellence-- gsp215rank.com
GSP 215 RANK Lessons in Excellence-- gsp215rank.comGSP 215 RANK Lessons in Excellence-- gsp215rank.com
GSP 215 RANK Lessons in Excellence-- gsp215rank.comRoelofMerwe102
 
GSP 215 RANK Inspiring Innovation--gsp215rank.com
GSP 215 RANK Inspiring Innovation--gsp215rank.com GSP 215 RANK Inspiring Innovation--gsp215rank.com
GSP 215 RANK Inspiring Innovation--gsp215rank.com KeatonJennings102
 
(Www.entrance exam.net)-tcs placement sample paper 2
(Www.entrance exam.net)-tcs placement sample paper 2(Www.entrance exam.net)-tcs placement sample paper 2
(Www.entrance exam.net)-tcs placement sample paper 2Pamidimukkala Sivani
 
Pgcet Computer Science 2015 question paper
Pgcet Computer Science 2015 question paperPgcet Computer Science 2015 question paper
Pgcet Computer Science 2015 question paperEneutron
 
GSP 215 RANK Education Counseling -- gsp215rank.com
GSP 215 RANK Education Counseling -- gsp215rank.comGSP 215 RANK Education Counseling -- gsp215rank.com
GSP 215 RANK Education Counseling -- gsp215rank.comkopiko85
 
Model question paper_mc0061
Model question paper_mc0061Model question paper_mc0061
Model question paper_mc0061gurbaxrawat
 
assembly language programming and organization of IBM PC" by YTHA YU
assembly language programming and organization of IBM PC" by YTHA YUassembly language programming and organization of IBM PC" by YTHA YU
assembly language programming and organization of IBM PC" by YTHA YUEducation
 
ECET 340 Effective Communication/tutorialrank.com
 ECET 340 Effective Communication/tutorialrank.com ECET 340 Effective Communication/tutorialrank.com
ECET 340 Effective Communication/tutorialrank.comjonhson203
 
Bsc math previous exam quetions
Bsc math previous exam quetionsBsc math previous exam quetions
Bsc math previous exam quetionsmshoaib15
 

Similar to Samplepaper (20)

Cp manual final
Cp manual finalCp manual final
Cp manual final
 
Mid term sem 2 1415 sol
Mid term sem 2 1415 solMid term sem 2 1415 sol
Mid term sem 2 1415 sol
 
Name _______________________________ Class time __________.docx
Name _______________________________    Class time __________.docxName _______________________________    Class time __________.docx
Name _______________________________ Class time __________.docx
 
Computer programming mcqs
Computer programming mcqsComputer programming mcqs
Computer programming mcqs
 
Mcq+questions+cxc+it
Mcq+questions+cxc+itMcq+questions+cxc+it
Mcq+questions+cxc+it
 
Technical questions
Technical questionsTechnical questions
Technical questions
 
Mmt 001
Mmt 001Mmt 001
Mmt 001
 
c programing
c programingc programing
c programing
 
LMmanual.pdf
LMmanual.pdfLMmanual.pdf
LMmanual.pdf
 
GSP 215 RANK Education Your Life--gsp215rank.com
GSP 215 RANK Education Your Life--gsp215rank.comGSP 215 RANK Education Your Life--gsp215rank.com
GSP 215 RANK Education Your Life--gsp215rank.com
 
GSP 215 RANK Lessons in Excellence-- gsp215rank.com
GSP 215 RANK Lessons in Excellence-- gsp215rank.comGSP 215 RANK Lessons in Excellence-- gsp215rank.com
GSP 215 RANK Lessons in Excellence-- gsp215rank.com
 
GSP 215 RANK Inspiring Innovation--gsp215rank.com
GSP 215 RANK Inspiring Innovation--gsp215rank.com GSP 215 RANK Inspiring Innovation--gsp215rank.com
GSP 215 RANK Inspiring Innovation--gsp215rank.com
 
(Www.entrance exam.net)-tcs placement sample paper 2
(Www.entrance exam.net)-tcs placement sample paper 2(Www.entrance exam.net)-tcs placement sample paper 2
(Www.entrance exam.net)-tcs placement sample paper 2
 
Cpph exam a_2019_s1
Cpph exam a_2019_s1Cpph exam a_2019_s1
Cpph exam a_2019_s1
 
Pgcet Computer Science 2015 question paper
Pgcet Computer Science 2015 question paperPgcet Computer Science 2015 question paper
Pgcet Computer Science 2015 question paper
 
GSP 215 RANK Education Counseling -- gsp215rank.com
GSP 215 RANK Education Counseling -- gsp215rank.comGSP 215 RANK Education Counseling -- gsp215rank.com
GSP 215 RANK Education Counseling -- gsp215rank.com
 
Model question paper_mc0061
Model question paper_mc0061Model question paper_mc0061
Model question paper_mc0061
 
assembly language programming and organization of IBM PC" by YTHA YU
assembly language programming and organization of IBM PC" by YTHA YUassembly language programming and organization of IBM PC" by YTHA YU
assembly language programming and organization of IBM PC" by YTHA YU
 
ECET 340 Effective Communication/tutorialrank.com
 ECET 340 Effective Communication/tutorialrank.com ECET 340 Effective Communication/tutorialrank.com
ECET 340 Effective Communication/tutorialrank.com
 
Bsc math previous exam quetions
Bsc math previous exam quetionsBsc math previous exam quetions
Bsc math previous exam quetions
 

Recently uploaded

Dubai Call Girls Demons O525547819 Call Girls IN DUbai Natural Big Boody
Dubai Call Girls Demons O525547819 Call Girls IN DUbai Natural Big BoodyDubai Call Girls Demons O525547819 Call Girls IN DUbai Natural Big Boody
Dubai Call Girls Demons O525547819 Call Girls IN DUbai Natural Big Boodykojalkojal131
 
Delhi Call Girls South Delhi 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls South Delhi 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls South Delhi 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls South Delhi 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Callshivangimorya083
 
Motilal Oswal Gift City Fund PPT - Apr 2024.pptx
Motilal Oswal Gift City Fund PPT - Apr 2024.pptxMotilal Oswal Gift City Fund PPT - Apr 2024.pptx
Motilal Oswal Gift City Fund PPT - Apr 2024.pptxMaulikVasani1
 
Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Sa...
Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Sa...Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Sa...
Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Sa...Pooja Nehwal
 
Dombivli Call Girls, 9892124323, Kharghar Call Girls, chembur Call Girls, Vas...
Dombivli Call Girls, 9892124323, Kharghar Call Girls, chembur Call Girls, Vas...Dombivli Call Girls, 9892124323, Kharghar Call Girls, chembur Call Girls, Vas...
Dombivli Call Girls, 9892124323, Kharghar Call Girls, chembur Call Girls, Vas...Pooja Nehwal
 
Call Girls Hoodi Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Hoodi Just Call 👗 7737669865 👗 Top Class Call Girl Service BangaloreCall Girls Hoodi Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Hoodi Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangaloreamitlee9823
 
Escorts Service Cambridge Layout ☎ 7737669865☎ Book Your One night Stand (Ba...
Escorts Service Cambridge Layout  ☎ 7737669865☎ Book Your One night Stand (Ba...Escorts Service Cambridge Layout  ☎ 7737669865☎ Book Your One night Stand (Ba...
Escorts Service Cambridge Layout ☎ 7737669865☎ Book Your One night Stand (Ba...amitlee9823
 
CALL ON ➥8923113531 🔝Call Girls Nishatganj Lucknow best sexual service
CALL ON ➥8923113531 🔝Call Girls Nishatganj Lucknow best sexual serviceCALL ON ➥8923113531 🔝Call Girls Nishatganj Lucknow best sexual service
CALL ON ➥8923113531 🔝Call Girls Nishatganj Lucknow best sexual serviceanilsa9823
 
Resumes, Cover Letters, and Applying Online
Resumes, Cover Letters, and Applying OnlineResumes, Cover Letters, and Applying Online
Resumes, Cover Letters, and Applying OnlineBruce Bennett
 
Call Girls Btm Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Btm Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...Call Girls Btm Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Btm Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...amitlee9823
 
Book Paid Saswad Call Girls Pune 8250192130Low Budget Full Independent High P...
Book Paid Saswad Call Girls Pune 8250192130Low Budget Full Independent High P...Book Paid Saswad Call Girls Pune 8250192130Low Budget Full Independent High P...
Book Paid Saswad Call Girls Pune 8250192130Low Budget Full Independent High P...ranjana rawat
 
CFO_SB_Career History_Multi Sector Experience
CFO_SB_Career History_Multi Sector ExperienceCFO_SB_Career History_Multi Sector Experience
CFO_SB_Career History_Multi Sector ExperienceSanjay Bokadia
 
Zeeman Effect normal and Anomalous zeeman effect
Zeeman Effect normal and Anomalous zeeman effectZeeman Effect normal and Anomalous zeeman effect
Zeeman Effect normal and Anomalous zeeman effectPriyanshuRawat56
 
Résumé (2 pager - 12 ft standard syntax)
Résumé (2 pager -  12 ft standard syntax)Résumé (2 pager -  12 ft standard syntax)
Résumé (2 pager - 12 ft standard syntax)Soham Mondal
 
Presentation on Workplace Politics.ppt..
Presentation on Workplace Politics.ppt..Presentation on Workplace Politics.ppt..
Presentation on Workplace Politics.ppt..Masuk Ahmed
 
Toxicokinetics studies.. (toxicokinetics evaluation in preclinical studies)
Toxicokinetics studies.. (toxicokinetics evaluation in preclinical studies)Toxicokinetics studies.. (toxicokinetics evaluation in preclinical studies)
Toxicokinetics studies.. (toxicokinetics evaluation in preclinical studies)sonalinghatmal
 
Virgin Call Girls Delhi Service-oriented sexy call girls ☞ 9899900591 ☜ Rita ...
Virgin Call Girls Delhi Service-oriented sexy call girls ☞ 9899900591 ☜ Rita ...Virgin Call Girls Delhi Service-oriented sexy call girls ☞ 9899900591 ☜ Rita ...
Virgin Call Girls Delhi Service-oriented sexy call girls ☞ 9899900591 ☜ Rita ...poojakaurpk09
 
OSU毕业证留学文凭,制做办理
OSU毕业证留学文凭,制做办理OSU毕业证留学文凭,制做办理
OSU毕业证留学文凭,制做办理cowagem
 
Brand Analysis for reggaeton artist Jahzel.
Brand Analysis for reggaeton artist Jahzel.Brand Analysis for reggaeton artist Jahzel.
Brand Analysis for reggaeton artist Jahzel.GabrielaMiletti
 

Recently uploaded (20)

Dubai Call Girls Demons O525547819 Call Girls IN DUbai Natural Big Boody
Dubai Call Girls Demons O525547819 Call Girls IN DUbai Natural Big BoodyDubai Call Girls Demons O525547819 Call Girls IN DUbai Natural Big Boody
Dubai Call Girls Demons O525547819 Call Girls IN DUbai Natural Big Boody
 
Sensual Moments: +91 9999965857 Independent Call Girls Paharganj Delhi {{ Mon...
Sensual Moments: +91 9999965857 Independent Call Girls Paharganj Delhi {{ Mon...Sensual Moments: +91 9999965857 Independent Call Girls Paharganj Delhi {{ Mon...
Sensual Moments: +91 9999965857 Independent Call Girls Paharganj Delhi {{ Mon...
 
Delhi Call Girls South Delhi 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls South Delhi 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls South Delhi 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls South Delhi 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
 
Motilal Oswal Gift City Fund PPT - Apr 2024.pptx
Motilal Oswal Gift City Fund PPT - Apr 2024.pptxMotilal Oswal Gift City Fund PPT - Apr 2024.pptx
Motilal Oswal Gift City Fund PPT - Apr 2024.pptx
 
Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Sa...
Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Sa...Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Sa...
Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Sa...
 
Dombivli Call Girls, 9892124323, Kharghar Call Girls, chembur Call Girls, Vas...
Dombivli Call Girls, 9892124323, Kharghar Call Girls, chembur Call Girls, Vas...Dombivli Call Girls, 9892124323, Kharghar Call Girls, chembur Call Girls, Vas...
Dombivli Call Girls, 9892124323, Kharghar Call Girls, chembur Call Girls, Vas...
 
Call Girls Hoodi Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Hoodi Just Call 👗 7737669865 👗 Top Class Call Girl Service BangaloreCall Girls Hoodi Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Hoodi Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
 
Escorts Service Cambridge Layout ☎ 7737669865☎ Book Your One night Stand (Ba...
Escorts Service Cambridge Layout  ☎ 7737669865☎ Book Your One night Stand (Ba...Escorts Service Cambridge Layout  ☎ 7737669865☎ Book Your One night Stand (Ba...
Escorts Service Cambridge Layout ☎ 7737669865☎ Book Your One night Stand (Ba...
 
CALL ON ➥8923113531 🔝Call Girls Nishatganj Lucknow best sexual service
CALL ON ➥8923113531 🔝Call Girls Nishatganj Lucknow best sexual serviceCALL ON ➥8923113531 🔝Call Girls Nishatganj Lucknow best sexual service
CALL ON ➥8923113531 🔝Call Girls Nishatganj Lucknow best sexual service
 
Resumes, Cover Letters, and Applying Online
Resumes, Cover Letters, and Applying OnlineResumes, Cover Letters, and Applying Online
Resumes, Cover Letters, and Applying Online
 
Call Girls Btm Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Btm Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...Call Girls Btm Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Btm Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
 
Book Paid Saswad Call Girls Pune 8250192130Low Budget Full Independent High P...
Book Paid Saswad Call Girls Pune 8250192130Low Budget Full Independent High P...Book Paid Saswad Call Girls Pune 8250192130Low Budget Full Independent High P...
Book Paid Saswad Call Girls Pune 8250192130Low Budget Full Independent High P...
 
CFO_SB_Career History_Multi Sector Experience
CFO_SB_Career History_Multi Sector ExperienceCFO_SB_Career History_Multi Sector Experience
CFO_SB_Career History_Multi Sector Experience
 
Zeeman Effect normal and Anomalous zeeman effect
Zeeman Effect normal and Anomalous zeeman effectZeeman Effect normal and Anomalous zeeman effect
Zeeman Effect normal and Anomalous zeeman effect
 
Résumé (2 pager - 12 ft standard syntax)
Résumé (2 pager -  12 ft standard syntax)Résumé (2 pager -  12 ft standard syntax)
Résumé (2 pager - 12 ft standard syntax)
 
Presentation on Workplace Politics.ppt..
Presentation on Workplace Politics.ppt..Presentation on Workplace Politics.ppt..
Presentation on Workplace Politics.ppt..
 
Toxicokinetics studies.. (toxicokinetics evaluation in preclinical studies)
Toxicokinetics studies.. (toxicokinetics evaluation in preclinical studies)Toxicokinetics studies.. (toxicokinetics evaluation in preclinical studies)
Toxicokinetics studies.. (toxicokinetics evaluation in preclinical studies)
 
Virgin Call Girls Delhi Service-oriented sexy call girls ☞ 9899900591 ☜ Rita ...
Virgin Call Girls Delhi Service-oriented sexy call girls ☞ 9899900591 ☜ Rita ...Virgin Call Girls Delhi Service-oriented sexy call girls ☞ 9899900591 ☜ Rita ...
Virgin Call Girls Delhi Service-oriented sexy call girls ☞ 9899900591 ☜ Rita ...
 
OSU毕业证留学文凭,制做办理
OSU毕业证留学文凭,制做办理OSU毕业证留学文凭,制做办理
OSU毕业证留学文凭,制做办理
 
Brand Analysis for reggaeton artist Jahzel.
Brand Analysis for reggaeton artist Jahzel.Brand Analysis for reggaeton artist Jahzel.
Brand Analysis for reggaeton artist Jahzel.
 

Samplepaper

  • 1. Page 1 of 10 Section A – 25 Questions (25 Marks) Multiple Choice Questions, No Negative Marking, No Partial Marking. 1 Mark for each correct answer 1. Which of the following numbers doesn’t fit the below series. 343, 512, 729, 1000, 1329 a. 512 b. 343 c. 1329 d. 729 2. If in a certain language PROSE is coded as PPOQE, how is LIGHT coded in that code ? a. LIGFT b. LGGFT c. LGGHT d. LLGFE 3. Raghu tosses a coin 6 times. The probability that the number of times he gets heads will not be greater than the number of times he gets tails is. a. 21/64 b. 3/32 c. 41/64 d. 21/32 4. If Praveen and Naveen together can complete a piece of work in 15 days and Naveen alone in 20 days, in how many days can Praveen alone complete the work? a. 60 b. 45 c. 40 d. 30 5. A boat running upstream takes 8 hours 48 minutes to cover a certain distance, while it takes 4 hours to cover the same distance running downstream. What is the ratio between the speed of the boat and speed of the water current respectively? a. 2:1
  • 2. Page 2 of 10 b. 3:2 c. 8:3 d. Cannot be determined 6. Abhi and Vabby take part in a 100 m race. Abhi runs at 5 kmph. Abhi gives Vabby a start of 8 m (meaning Abhi starts the race when Vabby has already covered 8m) and still beats him by 8 seconds. The speed of Vabby is: a. 5.15 kmph b. 4.14 kmph c. 4.25 kmph d. 4.4 kmph 7. A bag contains 2 red, 3 green and 2 blue balls. Two balls are drawn at random. What is the probability that none of the balls drawn is blue? a. 10 / 21 b. 11 / 21 c. 5 / 7 d. 2 / 7 8. There is a 60% increase in an amount in 6 years at simple interest. What will be the compound interest for Rs. 12,000 after 3 years (compounded annually) at the same rate? a. 2160 b. 3120 c. 3972 d. 6240 9. The average temperature for Wednesday, Thursday and Friday was 40 degrees celsius. The average for Thursday, Friday and Saturday was 41 degrees celsius. If the temperature on Saturday was 42 degree celsius, what was the temperature on Wednesday? a. 39 b. 44 c. 38 d. 41 10. A father said to his son, "I was as old as you are at the present at the time of your birth". If the father's age is 38 years now, the son's age 4 years back was: a. 34 b. 23 c. 15
  • 3. Page 3 of 10 d. 19 11. The sum of the first 16 terms of an AP whose first term and third term are 5 and 15 respectively is ? a. 600 b. 765 c. 640 d. 680 12. . There are two poles, one on each side of the road. The higher pole is 54 m high. From the top of this pole, the angle of depression of the top and bottom of the shorter pole is 30 and 60 degrees respectively. Find the height of the shorter pole. Use the below references of the trigonometric table and angle of depression definition. a. 40m b. 24m c. 36m d. Cannot be determined 13. The difference between a two-digit number and the number obtained by interchanging the positions of its digits is 36. What is the difference between the two digits of that number? a. 3 b. 4 c. 9 d. Cannot be determined
  • 4. Page 4 of 10 14. What does f1(8) return for this function. int f1 (int n) { if(n == 0 || n == 1) return n; else return (2*f1(n-1) + 3*f1(n-2)); } a. 1661 b. 59 c. 1640 d. 73 15. What is the output of the below program ? int main() { int a=14; while(a<20) { ++a; if(a>=16 && a<=18) { continue; } printf("%d ", a); } return 0; } a. 15 16 17 18 19 b. 15 18 19 c. 15 16 20 d. 15 19 20 16. What does the following program print? int main () {
  • 5. Page 5 of 10 int i, j; int a [8] = {1, 2, 3, 4, 5, 6, 7, 8}; for(i = 0; i < 3; i++) { a[i] = a[i] + 1; i++; } i--; for (j = 7; j > 4; j--) { int i = j/2; a[i] = a[i] - 1; } printf ("%d, %d", i, a[i]); } a. 2, 3 b. 2, 4 c. 3, 2 d. 3, 3 17. What’s the output of the following program?. Consider int is allocated 2 bytes of memory in the system. int main() { int a = 5, b = 9, c; c = a ^ b // ^ means XOR operator c = c << 2 // << Left shift operator printf(“%d”, c); return 0; } a. 0 b. 14 c. 48 d. 144 18. Which one of the following is not true? a. Kernel is the program that constitutes the central core of the operating system b. Kernel is the first part of operating system to load into memory during booting
  • 6. Page 6 of 10 c. Kernel is made of various modules which cannot be loaded in the running operating system. d. Kernel remains in the memory during the entire computer session 19. In operating systems, an asynchronous call __________________________ a. returns immediately, without waiting for the I/O to complete b. does not return immediately and waits for the I/O to complete c. consumes a lot of time d. is too slow 20. Which of the following is not true about Recursion a. Program languages internally use the stacks to implement recursion b. Recursion decrease the time complexity and space complexity of a program c. All recursive programs can be rewritten without recursion using the stacks d. Recursive programs result in stack errors (Stack exhaustion) when termination statements are not defined properly. 21. Below is a piece of code to traverse the elements of a binary tree. Which traversal does this do? public void traverse(Tree root) { If (root == null) { return; } traverse(root.left()); traverse(root.right()); printf(“%d”, root.data()); } a. Pre Order Traversal b. Post Order Traversal c. In Order Traversal d. Level Order Traversal 22. Which of the following is not true for the following code segment? class A {
  • 7. Page 7 of 10 private : int sum(int x, int y) { return x+y; } public: A() { } A(int x, int y) { Cout << sum(x,y); } }; a. Constructor can be created with zero argument b. Constructor prints sum, if two parameters are passed with object creation c. Constructor will give error if float values are passed d. Constructor will take 0 as default value for parameters if not passed and prints 0 as sum 23. Which of the following statements is incorrect regarding call by value and call by reference parameter passing techniques. a. In call by value, the value of the actual parameter is copied and the copy is passed to the function. b. In call by value, actual parameters and functions formal parameters point to the same memory location c. In call by reference, actual parameters and functions formal parameters point to the same memory location. d. In call by reference, any modifications to the parameters will be reflected in the calling function. 24. Which key declares that an index in one table is related to that in another? a. Primary b. Foreign c. Secondary d. Relational 25. Which of the following should be used to find all the courses taught in the Aug 2020 semester but not in the Jan 2021 semester?
  • 8. Page 8 of 10 a. SELECT COUNT (DISTINCT ID) FROM takes WHERE (course id, sec id, semester, YEAR) IN (SELECT course id, sec id, semester, YEAR FROM teaches WHERE teaches.ID= 10101); b. SELECT DISTINCT course id FROM SECTION WHERE semester = ’Aug’ AND YEAR= 2020 AND course id NOT IN (SELECT course id FROM SECTION WHERE semester = ’Jan’ AND YEAR= 2021); c. SELECT DISTINCT course_id FROM instructor WHERE name NOT IN (’Aug’, ’Jan’); d. SELECT course id FROM SECTION WHERE semester = 'Jan' AND YEAR= 2021);
  • 9. Page 9 of 10 Section B – 5 Questions (25 Marks) Questions 26,27,28 – Fill-in-the-blanks : Each question carries 3 marks Question 29 – Coding – 6 marks Question 30 – Coding – 10 marks 26. Reverse a string using recursion. Choose an option to complete. void reverse(const string & str) { size_t numOfChars = str.size(); if(numOfChars == 1) { cout << str << endl; } else { cout << str[numOfChars - 1]; reverse( __________FILL_IN_THE_BLANK_________); } } 27. Function to convert octal number to decimal. Choose an option to complete. int octalToDecimal(int octalNumber) { int decimalNumber = 0, i = 0, rem; while (octalNumber != 0) { rem = octalNumber % 10; octalNumber /= 10; decimalNumber += ___ FILL_IN_THE_BLANK ___; ++i; } return decimalNumber; } 28. The following program finds the maximum value contained in the array P of size n ( n > 1). Please complete this program by filling the blank.
  • 10. Page 10 of 10 int a=0, b=n-1; while (___ FILL_IN_THE_BLANK ___) { if (p[a] <= p[b]) { a = a+1; } else { b = b-1; } } printf("Max value is %d",p[a]) 29. Write a function that takes 2 arguments: numberList (array of integers), baseLine (integer) and prints the count of elements in numberList that is less than baseLine and count of elements in numberList that is more than baseLine. Eg: numberList={10,20,30,40,50,60} and baseLine=45, output should be Below BaseLine : 4 Above BaseLine: 2 Note: You can write the code in Java or Python . 30. Write a program that takes a path to a file name as an argument (.txt file), reads the file and generates a new file that has every alternate line swapped. In the new file, line 2 is line 1 of original file, line 3 of new file is line 4 of original file, line 4 of new file is line 3 of original file and so on. In addition to the output, weightage will be given to program structure, code optimization, error handling, boundary conditions etc. Note: You can write the code in Java or Python