Your school name
1st Year Computer 2nd Quarter Book Paper1st Year · Computer · Federal (FBISE)
Q1. Multiple choice questions (Attempt all · 12 × 1 = 12)
- If there are some flaws in data collection method, after analyzing such data the result would be more _________.
- In online IDEs, we can write and run out code without ________ in our computer.
- For accurate data collection, an existing data from ________ is acquired.
- What will the following program do : for i in range (10,0,-1): print ('iteration no-',i)
- Natural disaster prediction helps the people to take preventive measures against __________.
- The input () function treats the entered data as a set of _______.
- A linear regression model is a mathematical equation that allows us to predict a response for given _________.
- Python was first introduced in _________.
- Clustering algorithms are examples of __________.
- _______ provide basic variable types as str, integer, float, etc.
- During summer people of hot regions consume more cold items. This information is called ___________.
- '**' is used to represent __________.
Q2. Short questions (Attempt any 8 of 12 · 8 × 2 = 16)
- Enlist steps to represent the monthly temperatures of a Pakistani city in 2023 from January till December using a line graph.
- How do you swap values of two variables in Python using a temporary variable?
- What is data visualization and why is it important?
- What is a logical bug in programming?
- What are the benefits of using secondary data collection methods?
- What are some basic functions available for lists in Python?
- How do you create a pie chart in Python using Matplotlib? Provide an example.
- How do you convert user input to an integer in Python?
- Provide an example a regression model and explain its components.
- What is iteration in programming?
- Explain the importance of primary data collection methods with an example.
- What is operator precedence in Python?
Q3. Long questions (Attempt any 3 of 4 · 3 × 4 = 12)
- Sketch primary data collection methods in context of disease outbreak, like seasonal flu.
- Explain the applications of python in different business and Technical domains.
- Write a python code to generate a dataset with two variables where y = x² + 2x. Fit scatter plot and box plot on this data.
- What are the basic functions that list provides. Elaborate each them with an example.