0% found this document useful (0 votes)
13 views9 pages

Year 8 Computing Sem 1 MOck

This document outlines a Computing exam for Year 7 students, including instructions for answering questions and the total marks available. It contains various tasks such as writing pseudocode, flowcharts, and Python code related to algorithms, data types, and social media usage. The exam is designed to assess students' understanding of programming concepts and their ability to apply them practically.

Uploaded by

maulikmittal201
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views9 pages

Year 8 Computing Sem 1 MOck

This document outlines a Computing exam for Year 7 students, including instructions for answering questions and the total marks available. It contains various tasks such as writing pseudocode, flowcharts, and Python code related to algorithms, data types, and social media usage. The exam is designed to assess students' understanding of programming concepts and their ability to apply them practically.

Uploaded by

maulikmittal201
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 9

Semester 1 October 2024 Year 7

CANDIDATE NAME

DATE

Computing 40 mins
Candidates answer on the question paper.
No additional material is required.

INSTRUCTIONS

 Answer all questions.

 Use a black or dark blue pen.

 Write your name in the box at the top of your page.

 Write your answers to each question in space provided.

 Do not use an erasable pen or correction fluid.

 You may use an HB pencil for any diagrams,graphs or rough working.

INFORMATION

 The total mark is 40.

 The number of marks for each question or part question is shown in brackets [].

 No marks will be awarded for using brand names of software packages or hardware.

This document has 10 printed pages .


2

1. Write a pseudocode and draw a flowchart that asks the user to enter a number. The program

should finding the Factorial of a Number. (without using Math Library).

Pseudocode

Flowchart
3

2. You are designing a system for a roller coaster ride. The program checks if the person is

eligible to ride. The conditions are:

 The rider must be at least 10 years old AND taller than 120 cm.

If both conditions are true, the program should display "You can ride!". Otherwise, it should

display "Sorry, you cannot ride."

Flowchart

Pseudocode
4

3. You are designing a simple traffic light control system that switches between red, yellow,

and green lights. Before you develop the code you need to plan its functioning with the help of

flowchart and pseudocode.

 Define flowchart and write two advantages and disadvantages of it.

Flowchart

………………………………………………………………………………………………………………

………………………………………………………………………………………………………………

Advantages and Disadvantages of flowcharts

………………………………………………………………………………………………………………

………………………………………………………………………………………………………………
5

………………………………………………………………………………………………………………

………………………………………………………………………………………………………………

………………………………………………………………………………………………………………

………………………………………………………………………………………………………………

 Define pseudocode and write two advantages and disadvantages of it.

Pseudocode

………………………………………………………………………………………………………………

………………………………………………………………………………………………………………

Advantages and Disadvantages of pseudocodes

………………………………………………………………………………………………………………

………………………………………………………………………………………………………………

………………………………………………………………………………………………………………

………………………………………………………………………………………………………………

………………………………………………………………………………………………………………

………………………………………………………………………………………………………………
6

4. Identify and write the data type in the space given in the table below that will be used for

each piece of data.

Data Description Data Type

"OpenAI_GPT3" Username of an online account

False Result of a condition checking if a number is prime

123.456 Price of a product in a store

25 Number of books in a library

"22B Baker Street, London" Address of a user

'A' Grade assigned to a student

5. a. Define searching algorithm.

………………………………………………………………………………………………………………

………………………………………………………………………………………………………………

………………………………………………………………………………………………………………

b. Write the steps involved involved in Binary search algorithms

………………………………………………………………………………………………………………

………………………………………………………………………………………………………………

………………………………………………………………………………………………………………

………………………………………………………………………………………………………………
7

………………………………………………………………………………………………………………

………………………………………………………………………………………………………………

6. You are creating a guide for new social media users to help them spot fake profiles. List 3

key signs that a social media profile might be fake and explain why each is important to protect

users from scams and privacy risks.

………………………………………………………………………………………………………………

………………………………………………………………………………………………………………

………………………………………………………………………………………………………………

………………………………………………………………………………………………………………

………………………………………………………………………………………………………………

………………………………………………………………………………………………………………

………………………………………………………………………………………………………………

………………………………………………………………………………………………………………

7. As a social media user, you’re concerned about how much data social media companies

collect. Describe three ways to protect your digital privacy when using social media platforms

and explain why each is important.

………………………………………………………………………………………………………………

………………………………………………………………………………………………………………

………………………………………………………………………………………………………………

………………………………………………………………………………………………………………

………………………………………………………………………………………………………………

………………………………………………………………………………………………………………

………………………………………………………………………………………………………………

………………………………………………………………………………………………………………
8

8. You feel that you’ve been spending too much time on social media. Create a plan to manage

your screen time effectively. Include three steps that you would take to find a healthy balance

between your social media use and offline activities. Explain how addictive design might

influence your social media usage and how humane design could help.

………………………………………………………………………………………………………………

………………………………………………………………………………………………………………

………………………………………………………………………………………………………………

………………………………………………………………………………………………………………

………………………………………………………………………………………………………………

………………………………………………………………………………………………………………

………………………………………………………………………………………………………………

………………………………………………………………………………………………………………

6. Write python code to do the following:

a. Write a Python program that calculates how much time you’ve spent on social media

(calculate screen time)in a week. The program should:

 Ask the user to input the daily time (in hours) spent on social media for 7 days.

 Calculate the total screen time for the week.

 If the total is greater than 30 hours, display "You’ve spent too much time on social

media!" Otherwise, display "Your social media usage is within a healthy limit."

………………………………………………………………………………………………………

………………………………………………………………………………………………………

………………………………………………………………………………………………………

……………………………………………………………………………………………………..
9

………………………………………………………………………………………………………

………………………………………………………………………………………………………

………………………………………………………………………………………………………

……………………………………………………………………………………………………..

………………………………………………………………………………………………………

………………………………………………………………………………………………………

………………………………………………………………………………………………………

……………………………………………………………………………………………………..

………………………………………………………………………………………………………

………………………………………………………………………………………………………

b. Create an array of 8 numbers and do the following:

i. Write a Python program to print numbers in reverse order.

………………………………………………………………………………………………………

………………………………………………………………………………………………………

………………………………………………………………………………………………………

……………………………………………………………………………………………………..

………………………………………………………………………………………………………

………………………………………………………………………………………………………

ii. Write a Python program to print only the odd numbers in the array.

………………………………………………………………………………………………………

………………………………………………………………………………………………………

………………………………………………………………………………………………………

……………………………………………………………………………………………………..

You might also like