This page contains the reliably extracted subset, not the complete original paper.
Questions and published explanations below are available without starting a test. Some questions may not have a published solution yet.
0 / 32 published solutions
Question 49 MCQ · 2.0 marks
A certain text document consisting of only alphanumeric characters (including spaces) takes
320000 bits, when encoded with UCS-2 encoding. How many bits will the same document take if
encoded with ASCII 7-bit encoding?
A.
20000 bits
B.
1,40,000 bits
C.
22,40,000 bits
D.
320000 bits
A published solution is not available for this question yet.
The Quiz Master application at IITM BS allows students to attempt quizzes online. To prevent
automated bots from mass-submitting quiz answers and ensure fair participation, the admin
decides to implement a **CAPTCHA verification system** before allowing users to start a quiz. The
admin decides to integrate Google reCAPTCHA into the Quiz Master app using Flask. Which Flask
extension is best suited for implementing reCAPTCHA verification?
A.
Flask-Mail
B.
Flask-WTF
C.
Flask-SQLAlchemy
D.
Flask-Migrate
A published solution is not available for this question yet.
A mobile client starts from and is cruising away continuously at 120 kmph from the network tower
whose network range is 80 km and bandwidth is 240 Mbps. How much data (in Gigabytes) will be
consumed by the client who is continuously using the entire bandwidth before completely moving
out of the network?
[Take 1 Byte = 8 bits, 1 KB = 1000 Bytes, 1 MB = 1000 Kilobytes and so on.]
[Consider the speed of light in air to be 3 x 10 \(^{8}\) m/sec.]
A.
48
B.
57.6
C.
72
D.
576
A published solution is not available for this question yet.
Consider the following statements and choose the correct option
**Statement 1:** It is always mandatory to implement server-side validations and client-side
validations to create web applications.
**Statement 2:** Server-side validations can be implemented using HTML5.
A.
Statement 1 is false, while statement 2 is true
B.
Statement 1 is true, while statement 2 is false
C.
Both statements are false
D.
Both statements are true
A published solution is not available for this question yet.
A client machine and a server machine located 120 kilometers apart start moving towards each
other along a straight line at 400 kmph and 800 kmph respectively. At the same time, the client
starts sending requests to the server and the server sends back the response to the client. This
client-server network continues to send requests and receive responses (with a new request being
sent only after the response is received by the client for the previous one) until both the server
and the client collide with each other. Calculate the total distance travelled (in kms) by the request
data and the response data together before the two machines collide with each other?(assume the
speed of request and response to be 3 x 10\(^{8}\)m/s )
A.B.C.D.
A published solution is not available for this question yet.
The following Flask-RESTful API code snippet is intended to create a RESTful API
for managing student registrations in an IITM BS degree program. However, there is an
error in the code that prevents it from functioning correctly.
from flask import Flask, jsonify, request
from flask_restful import Api, Resource
Flask(__name_)
Api(app)
app
api
students = []
class Student(Resource) :
def get(self, student_id):
for student in students:
if student["id"] == student_id:
return jsonify(student)
return jsonify({"message": "Student not found"}), 404
def post(self):
data = request.get_json()
new_student = {
"id": data["id"],
"name": data["name"]
}
students. append(new_student)
return jsonify({"message": "Student added successfully"})
api.add_resource(Student, "/student/<int:student_id>")
if _name_ == "_main_":
app. run(debug=True)
Error:
When trying to use the POST method to add a student, it throws a TypeError stating that the
route does not match the method. Identify the correct option to fix the error in the code.
A.
*
B.C.D.
A published solution is not available for this question yet.
The students of **IITM BS** challenged their **instructors** to a cricket match. A Flask web application is
built to track the scores. Below is the **Flask app code** that defines multiple routes for fetching
scores dynamically.
Based on the above data, answer the given subquestions.
What will be the output when the following URL is accessed?
A.
Score: students
B.
Students Score: 120
C.
None of these
D.
Team not found
A published solution is not available for this question yet.
The students of **IITM BS** challenged their **instructors** to a cricket match. A Flask web application is
built to track the scores. Below is the **Flask app code** that defines multiple routes for fetching
scores dynamically.
Based on the above data, answer the given subquestions.
What will happen if we access the following URL?
A.
Dr.Prashant (Instructors) Scored: 40
B.
Player not found
C.
Internal Server Error
D.
Dr.Prashant (Instructors) Scored: Player not found
A published solution is not available for this question yet.
A college counseling system is designed to store and retrieve student records efficiently. The
system uses different types of storage based on latency, throughput, and density. During peak
counseling sessions, thousands of students access their academic records, appointment
schedules, and previous counseling notes. The system needs to optimize storage selection for
different types of data:
1. Frequently accessed small data (e.g., currently active student records)
2. Large archives of past counseling records (rarely accessed but need long-term storage)
3. Temporary session data that needs to be quickly read and updated during counseling sessions
Based on the above data, answer the given subquestions.
Which of the following storage types should be used for storing **frequently accessed small**
**student records** that need **low latency and high-speed access**?
A.
Hard Disk Drive (HDD)
B.
Solid State Drive (SSD)
C.
Registers
D.
Static RAM (SRAM)
A published solution is not available for this question yet.
A college counseling system is designed to store and retrieve student records efficiently. The
system uses different types of storage based on latency, throughput, and density. During peak
counseling sessions, thousands of students access their academic records, appointment
schedules, and previous counseling notes. The system needs to optimize storage selection for
different types of data:
1. Frequently accessed small data (e.g., currently active student records)
2. Large archives of past counseling records (rarely accessed but need long-term storage)
3. Temporary session data that needs to be quickly read and updated during counseling sessions
Based on the above data, answer the given subquestions.
The college wants to store **archived counseling records** from past students for future reference.
These records are **rarely accessed**, but cost efficiency and storage density are important. Which
storage type is best suited?
A.
Registers
B.
SRAM
C.
Hard Disk Drive (HDD)
D.
DRAM
**MLF**
**Section Id :** 64065387634
**Section Number :** 4
**Section type :** Online
**Mandatory or Optional :** Mandatory
**Number of Questions :** 13
**Number of Questions to be attempted :** 13
**Section Marks :** 40
**Display Number Panel :** Yes
**Section Negative Marks :** 0
**Group All Questions :** No
**Enable Mark as Answered Mark for Review and**
No
**Clear Response :**
**Section Maximum Duration :** 0
**Section Minimum Duration :** 0
**Section Time In :** Minutes
**Maximum Instruction Time :** 0
A published solution is not available for this question yet.