Skip to content

Federal (FBISE) · Quarter book test · Free

1st Year Computer 2nd Quarter Book Paper

40 marks · 1 hour · 28 questions. Covers: 3. Programming Fundamentals, 4. Data and Analysis.

Your school name

1st Year Computer 2nd Quarter Book Paper

1st Year · Computer · Federal (FBISE)

Name: ____________Roll No: ________Class/Section: ________Date: ________Total marks: 40Time: 1 hour

Q1. Multiple choice questions (Attempt all · 12 × 1 = 12)

  1. If there are some flaws in data collection method, after analyzing such data the result would be more _________.
    1. Accurate
    2. Huge
    3. No result can be drawn
    4. Erroneous
  2. In online IDEs, we can write and run out code without ________ in our computer.
    1. Installing
    2. Creating
    3. Performing
    4. Detecting
  3. For accurate data collection, an existing data from ________ is acquired.
    1. Sampling dapartment
    2. Modeling techinques
    3. Meteorological department
    4. Educational department
  4. What will the following program do : for i in range (10,0,-1): print ('iteration no-',i)
    1. It will give error
    2. It will run 9 times
    3. It will run 10 times
    4. It will run 11 times
  5. Natural disaster prediction helps the people to take preventive measures against __________.
    1. Pandemic
    2. Cyclones
    3. Data analysis
    4. Temperature
  6. The input () function treats the entered data as a set of _______.
    1. Digits
    2. Characters
    3. Symbols
    4. Arithmetic operators
  7. A linear regression model is a mathematical equation that allows us to predict a response for given _________.
    1. Predictor value
    2. Variable
    3. Intercepts
    4. Model
  8. Python was first introduced in _________.
    1. 1990
    2. 1994
    3. 1992
    4. 2022
  9. Clustering algorithms are examples of __________.
    1. Classical learing
    2. Professional learning
    3. Unsupervised learning
    4. Cognitive learning
  10. _______ provide basic variable types as str, integer, float, etc.
    1. Print job
    2. Page break
    3. Python
    4. Procedure
  11. During summer people of hot regions consume more cold items. This information is called ___________.
    1. Parameter
    2. Population
    3. Statistics
    4. Random sample
  12. '**' is used to represent __________.
    1. Division
    2. Floor division
    3. Multiplication
    4. Exponentiation

Q2. Short questions (Attempt any 8 of 12 · 8 × 2 = 16)

  1. Enlist steps to represent the monthly temperatures of a Pakistani city in 2023 from January till December using a line graph.
  2. How do you swap values of two variables in Python using a temporary variable?
  3. What is data visualization and why is it important?
  4. What is a logical bug in programming?
  5. What are the benefits of using secondary data collection methods?
  6. What are some basic functions available for lists in Python?
  7. How do you create a pie chart in Python using Matplotlib? Provide an example.
  8. How do you convert user input to an integer in Python?
  9. Provide an example a regression model and explain its components.
  10. What is iteration in programming?
  11. Explain the importance of primary data collection methods with an example.
  12. What is operator precedence in Python?

Q3. Long questions (Attempt any 3 of 4 · 3 × 4 = 12)

  1. Sketch primary data collection methods in context of disease outbreak, like seasonal flu.
  2. Explain the applications of python in different business and Technical domains.
  3. Write a python code to generate a dataset with two variables where y = x² + 2x. Fit scatter plot and box plot on this data.
  4. What are the basic functions that list provides. Elaborate each them with an example.