Skip to content

Federal (FBISE) · Half book test (board pattern) · Free

1st Year Computer First half Book Paper

63 marks · 3 hours (Section A: 1 hour 40 minutes) · 64 questions. Covers: 4 chapters (1. Computer Systems to 4. Data and Analysis).

Your school name

1st Year Computer First half Book Paper

1st Year · Computer · Federal (FBISE)

Name: ____________Roll No: ________Class/Section: ________Date: ________Total marks: 63Time: 3 hours (Section A: 1 hour 40 minutes)

Q1. Multiple choice questions (Attempt all · 46 × 0.5 = 23)

  1. What type of attach involves cybercriminals impersonating trusted entities to deceive users into revealing sensitive information?
    1. Malware attack
    2. Denial of Service attack
    3. Phishing attack
    4. Insider threat
  2. In online IDEs, we can write and run out code without ________ in our computer.
    1. Installing
    2. Creating
    3. Performing
    4. Detecting
  3. Trace method is used to ___________.
    1. Take input
    2. Hand simulate the execution algorithm
    3. Take a print
    4. Align margins
  4. 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
  5. What is the main advantage of asymmetric encryption over symmetric encryption?
    1. Faster encryption and decryption
    2. Simplified key distribution
    3. Non-repudiation
    4. Lower computational complexity
  6. 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
  7. In the planning phase of computational artifact development following is included in.
    1. Logic
    2. Data Structures
    3. Control Structures
    4. Logic, Data and Control Structures
  8. For accurate data collection, an existing data from ________ is acquired.
    1. Sampling dapartment
    2. Modeling techinques
    3. Meteorological department
    4. Educational department
  9. Which principle in Boolean algebra involves interchanging AND and OR operators while complementing variables?
    1. Absorption Law
    2. Identity Law
    3. Principle of Duality
    4. Distributive Law
  10. The input () function treats the entered data as a set of _______.
    1. Digits
    2. Characters
    3. Symbols
    4. Arithmetic operators
  11. There are two algorithms suppose A takes 1.41 milliseconds while B takes 0.9 milliseconds, which one of them is better considering all other things the same?
    1. A is better than B
    2. B is better than A
    3. Both are equally good
    4. None of the mentioned
  12. Natural disaster prediction helps the people to take preventive measures against __________.
    1. Pandemic
    2. Cyclones
    3. Data analysis
    4. Temperature
  13. Which software development model is characterized by iterative development and frequent updates throughout the project's lifecycle?
    1. Waterfall Model
    2. Agile Model
    3. Feasibility Model
    4. Design Model
  14. Python was first introduced in _________.
    1. 1990
    2. 1994
    3. 1992
    4. 2022
  15. Trace Tables are used to _________.
    1. dry run algorithm
    2. test if algorithm is giving expected output
    3. show the variables change
    4. a, b and c
  16. 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
  17. What does 2FA (Two-Factor Authentication) require for user access?
    1. Two different passwords
    2. Two different encryption keys
    3. Two different authentication methods
    4. Two different user accounts methods
  18. _______ provide basic variable types as str, integer, float, etc.
    1. Print job
    2. Page break
    3. Python
    4. Procedure
  19. An algorithm can be represented through ___________.
    1. Flow charts
    2. Pseudo-codes
    3. Instructions in common language
    4. All of the mentioned above
  20. Clustering algorithms are examples of __________.
    1. Classical learing
    2. Professional learning
    3. Unsupervised learning
    4. Cognitive learning
  21. Which Agile model phase involves evaluating the software to identify and fix defects?
    1. Design
    2. Testing
    3. Deployment
    4. Requirements Gathering
  22. '**' is used to represent __________.
    1. Division
    2. Floor division
    3. Multiplication
    4. Exponentiation
  23. Algorithms are evaluated using ___________.
    1. Correctness
    2. Efficiency
    3. a and b
    4. None of above
  24. During summer people of hot regions consume more cold items. This information is called ___________.
    1. Parameter
    2. Population
    3. Statistics
    4. Random sample
  25. Which phase of SDLC focuses on understanding user expectations and identifying software requirements?
    1. Maintenance/Support Phase
    2. Deployment/Implementation Phase
    3. Requirement Engineering Phase
    4. Testing/Verification Phase
  26. We can design 2D geometrical shapes in Python, using _________.
    1. Operators
    2. Iterations
    3. Variables
    4. Turtle Graphics
  27. In computer science, the computational artifacts could include _________.
    1. Programs
    2. Simulations
    3. Videos
    4. Programs, Simulations and videos
  28. A point where graph line meet the y-axis is called __________.
    1. Y-axis
    2. Y-intercept
    3. Y-coordinates
    4. Y-dimensions
  29. What type of encryption uses a single, secret key for both encryption and decryption?
    1. Asymmetric encryption
    2. Public-key encryption
    3. Symmetric encryption
    4. Triple DES encryption
  30. If the program is unable to execute the next instruction, the program will reach the state of ________.
    1. Hang
    2. Reboot
    3. Shutdow
    4. Sleep
  31. A complexity of algorithm depends upon ____________.
    1. Time Only
    2. Space Only
    3. Both Time and Space
    4. None of above
  32. Supervised learning is one of the main category of __________.
    1. Statistical modeling
    2. Data waggling
    3. Data collection
    4. Evaluation modeling
  33. What are the two fundamental digits used in binary code?
    1. 0 and 2
    2. 1 and 3
    3. 0 and 1
    4. A and B
  34. Operator != is used for __________.
    1. Equal
    2. Logical AND
    3. Not equal
    4. Logical OR
  35. Experimental design is a tool used to ___________ the result effectively.
    1. Add
    2. Evaluate
    3. Organize
    4. Test
  36. Which phase of SDLC involves assessing whether the proposed software/system is feasible in terms of resources and budget?
    1. Design Phase
    2. Analysis Phase
    3. Feasibility Study Phase
    4. Coding Phase
  37. A REPL means ____________.
    1. Read-Enter-Print-Loop
    2. Read-Exit-Print-Loop
    3. Read-Eval-Print-Loop
    4. Read-Evolve-Print-Loop
  38. We can create our own database by generating some random number by using ____________.
    1. Python code
    2. Data code
    3. System code
    4. Pseudo code
  39. What is the main disadvantage of Ring Topology?
    1. Limited bandwidth
    2. High cost
    3. Complex installation
    4. SProne to failure
  40. We apply comparison with the help of _________ statement.
    1. For
    2. While
    3. If
    4. But
  41. Which principle of Boolean algebra allows interchanging the AND and OR operators while negating the variables?
    1. Complement principle
    2. Dual principle
    3. Inversion principle
    4. Identity principle
  42. To draw a triangle, we need to play with ___________.
    1. Angles
    2. Vertices
    3. Lines
    4. Shapes
  43. Which of the following logic gates produces a HIGH (1) output only when all of its inputs are HIGH (1)?
    1. AND gate
    2. OR gate
    3. NOT gate
    4. XOR gate
  44. Turtle graphics help us to design basic drawing and _________.
    1. 1D shapes
    2. 2D shapes
    3. 3D shapes
    4. 4D shapes
  45. How many bits does the ASCII code use to represents a character?
    1. 8 bits
    2. 16 bits
    3. 32 bits
    4. 64 bits
  46. Computer Programs are categorized into _________.
    1. Interactive Program and Batch Program
    2. Interactive Program and Badge Program
    3. Inactive Program and Batch Program
    4. Inactive Program and Badge Program

Q2. Short questions (Attempt all. Each question has an OR choice · 7 × 4 = 28)

  1. How do you swap values of two variables in Python using a temporary variable?

    OR

    Enlist steps to represent the monthly temperatures of a Pakistani city in 2023 from January till December using a line graph.
  2. Give three uses of logic gates.

    OR

    Define algorithmic design.
  3. What is a logical bug in programming?

    OR

    What is data visualization and why is it important?
  4. Name the different phase of SDLC.

    OR

    Explain the importance of pattern recognition in data analysis.
  5. What are some basic functions available for lists in Python?

    OR

    What are the benefits of using secondary data collection methods?
  6. What is the significance of groups of 8 bits in computer data representation?

    OR

    Where we prefer to use binary search algorithm rather than linear search algorithm?
  7. How do you convert user input to an integer in Python?

    OR

    How do you create a pie chart in Python using Matplotlib? Provide an example.

Q3. Long questions (Attempt all. Each question has an OR choice · 2 × 6 = 12)

  1. Explain Symmetric and Asymmetric encryption methods in the context of cyber security.

    OR

    Examine the uses of flowcharts.
  2. Sketch primary data collection methods in context of disease outbreak, like seasonal flu.

    OR

    Explain the applications of python in different business and Technical domains.