Computer subjects, practised one concept at a time.
Original ExamForge MCQs aligned to the current CBSE subject listing. Use them for concept practice; the latest CBSE syllabus, sample paper and marking scheme remain authoritative.
01IP-01 · Pandas SeriesWhich Pandas object represents one-dimensional labelled data?
+
- SeriesCorrect answer
- DataFrame
- IndexFrame
- ArrayTable
Explanation: A Pandas Series is a one-dimensional labelled array capable of storing values of a common or mixed compatible type.
02IP-02 · DataFrameWhich attribute returns the number of rows and columns of a DataFrame?
+
- size
- shapeCorrect answer
- axes
- ndimensions
Explanation: The shape attribute returns a tuple containing the row count followed by the column count of the DataFrame.
03IP-03 · Data selectionWhich accessor is primarily label-based in Pandas?
+
- iloc
- locCorrect answer
- iat only
- position
Explanation: The loc accessor selects rows and columns using labels, while iloc is intended for integer-position based selection.
04IP-04 · Data importWhich function commonly reads a comma-separated file into a DataFrame?
+
- pd.read_csv()Correct answer
- pd.open_csv()
- pd.import_rows()
- pd.file_frame()
Explanation: The pandas read_csv function reads delimited text data and returns it as a DataFrame for further processing.
05IP-05 · SQL aggregate functionsWhich SQL function returns the number of rows matching a query?
+
- TOTAL()
- NUMBER()
- COUNT()Correct answer
- ROWS()
Explanation: COUNT() is the SQL aggregate function used to count rows or non-null values selected by a query.
06IP-06 · SQL groupingWhich clause filters groups after GROUP BY has been applied?
+
- WHERE
- HAVINGCorrect answer
- ORDER BY
- DISTINCT
Explanation: HAVING applies a condition to grouped results, whereas WHERE filters individual rows before grouping occurs.
07IP-07 · SQL joinsWhich join returns only rows having matching values in both joined tables?
+
- INNER JOINCorrect answer
- LEFT JOIN
- CROSS JOIN
- FULL OUTER JOIN
Explanation: An INNER JOIN retains rows for which the specified join condition finds a match in both participating tables.
08IP-08 · Data visualizationWhich Matplotlib function is most suitable for comparing values across categories?
+
- plot()
- bar()Correct answer
- hist()
- scatter()
Explanation: A bar chart represents each category with a rectangular bar, making categorical value comparison straightforward.
09IP-09 · NetworksWhich protocol is used to securely transfer web pages through encrypted HTTP communication?
+
- FTP
- SMTP
- HTTPSCorrect answer
- POP3
Explanation: HTTPS combines HTTP communication with transport encryption to protect data exchanged between browser and server.
10IP-10 · Societal impactsWhich practice best protects personal privacy on a public computer?
+
- Saving every password
- Leaving the session open
- Signing out and clearing sensitive session dataCorrect answer
- Sharing an OTP
Explanation: Signing out and removing sensitive session information reduces the chance that a later user can access the account.
11IP-11 · Digital footprintWhat is a digital footprint?
+
- A computer's physical weight
- A trail of data created through online activityCorrect answer
- A printer setting
- A type of network cable
Explanation: A digital footprint is the data trail produced by online actions such as searches, posts, visits and account activity.
12IP-12 · Intellectual propertyWhich protection generally applies to an original computer program as a creative work?
+
- CopyrightCorrect answer
- Traffic law
- Weather regulation
- Network topology
Explanation: Copyright generally protects the original expression contained in software code, subject to applicable law and exceptions.