IIT - M - FOUNDATION - AN4 - EXAM - QPF4 - Sem2 Intro To Python
IIT - M - FOUNDATION - AN4 - EXAM - QPF4 - Sem2 Intro To Python
Notations :
Duration : 240
Calculator : Scientific
Ruler Required? : No
Eraser Required? : No
Protractor Required? : No
Highlighter : No
Section Number : 5
Number of Questions : 17
Section Marks : 50
Sub-Section Number : 1
Sub-Section Id : 64065382486
Correct Marks : 0
ARE YOU SURE YOU HAVE TO WRITE EXAM FOR THIS SUBJECT?
CROSS CHECK YOUR HALL TICKET TO CONFIRM THE SUBJECTS TO BE WRITTEN.
(IF IT IS NOT THE CORRECT SUBJECT, PLS CHECK THE SECTION AT THE TOP FOR THE SUBJECTS
REGISTERED BY YOU)
Options :
6406531928642. YES
6406531928643. NO
Correct Marks : 0
6406531928645. This data attachment is just for a reference & not for an evaluation.
Sub-Section Number : 2
Sub-Section Id : 64065382487
Correct Marks : 2
For what values as input, after execution, the above code snippet does not produce any output
but runs without any error?
Options :
6406531928646. x = 10 and y = 25
6406531928647. x = 6 and y = 20
6406531928648. x = 12 and y = 15
6406531928649. x = 15 and y = 16
Correct Marks : 2
6406531928650. 15
6406531928651. 14
6406531928652. 11
6406531928653. 12
Correct Marks : 2
Options :
Correct Marks : 2
What will be the output when you run the above snippet of code?
Options :
6406531928662. 5
6406531928663. 20
6406531928664. 35
6406531928665. 15
Sub-Section Number : 3
Sub-Section Id : 64065382488
Based on the above snippet of code, which of the following options is correct ?
Options :
Correct Marks : 3
6406531928670.
6406531928671.
6406531928672.
6406531928673.
6406531928674.
Sub-Section Number : 4
Sub-Section Id : 64065382489
Correct Marks : 4
Options :
6406531928666.
6406531928667.
6406531928668.
6406531928669.
Correct Marks : 4
Options :
6406531928675.
6406531928676.
6406531928677.
6406531928678.
Correct Marks : 4
Assume that 2345 is passed as input to the code. Which of the following option is the correct
output for the given input?
Options :
6406531928683. 5432
6406531928684. 15432
6406531928685. 2345
6406531928686. 12345
Correct Marks : 4
Options :
6406531928687.
6406531928688.
6406531928689.
6406531928690.
Correct Marks : 4
6406531928696.
6406531928697.
6406531928698.
6406531928699.
Sub-Section Number : 5
Sub-Section Id : 64065382490
Select all correct implementations of a program that prints the first 10 prime numbers to the
console, as one number on each line. Please note that the first 10 prime numbers are less than 30
and 11th prime number is more than 30. It is a Multiple Select Question .
Options :
6406531928679.
6406531928680.
6406531928681.
6406531928682.
Question Number : 104 Question Id : 640653577538 Question Type : MSQ Is Question
Mandatory : No Calculator : None Response Time : N.A Think Time : N.A Minimum Instruction
Time : 0
Options :
6406531928692.
6406531928693.
6406531928694.
6406531928695.
Sub-Section Number : 6
Sub-Section Id : 64065382491
Options :
6406531928700.
6406531928701.
6406531928702.
6406531928703.
Sub-Section Number : 7
Sub-Section Id : 64065382492
Correct Marks : 3
Possible Answers :
25
Sem2 English2
Section Id : 64065339056
Section Number : 6