Open navigation menu
Close suggestions
Search
Search
en
Change Language
Upload
Sign in
Sign in
Download free for days
0 ratings
0% found this document useful (0 votes)
152 views
14 pages
MOCK EXAM (Computer Science, p2, Class-11) 2023-24
the city school mock
Uploaded by
hijahkhan
AI-enhanced title
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Download
Save
Save MOCK EXAM (Computer Science, p2, Class-11)2023-24 For Later
Share
0%
0% found this document useful, undefined
0%
, undefined
Print
Embed
Report
0 ratings
0% found this document useful (0 votes)
152 views
14 pages
MOCK EXAM (Computer Science, p2, Class-11) 2023-24
the city school mock
Uploaded by
hijahkhan
AI-enhanced title
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Carousel Previous
Carousel Next
Download
Save
Save MOCK EXAM (Computer Science, p2, Class-11)2023-24 For Later
Share
0%
0% found this document useful, undefined
0%
, undefined
Print
Embed
Report
Download
Save MOCK EXAM (Computer Science, p2, Class-11)2023-24 For Later
You are on page 1
/ 14
Search
Fullscreen
She City School Mock Examination 2023-24 [student's Name Student ID Section Teacher's Name Campus Name COMPUTER SCIENCE 2210/22 CLASS 11 hour 45 minutes Paper 2 Algorithms, Programming and Logic You must answer on the question paper. No additional materials are needed INSTRUCTIONS Answer all questions. Use a black or dark blue pen. You may use an HB pencil for any diagrams or graphs. Write your Full Name, Student ID, Section, Subject Teacher’s Name and Campus Name in the boxes above. Write your answer to each question in the space provided. Do not use an erasable pen or correction fluid. Calculators must not be used in this paper. INFORMATION Invigilated by: Marked by: ‘Marks tallied by: The total mark for this paper is 75 The number of marks for each question or part question is shown in brackets [ J. No marks will be awarded for using brand names of software packages or hardware. he ity Steel] Urites Mock Examination, March 2026 / Computer Science P2/ Clas 33 This document has 14 pages. Page 1 of 141 An algorithm has been written in pseudocode to select a random number using the function Randint(n), which returns a whole number between 1 and the argument n. The algorithm then allows the user to guess the number. umber Randint(100) TotalTry ©1 REPEAT PRINT “Enter your guess now, it must be a whole number" INPUT Guess. IF TotalTry > Number THEN PRINT "Too large try again” ENDIF IF Guess > Number THEN PRINT "Too small try again" ENDIF TotalTry€ Guess +1 UNTIL Guess <> Number TotalTry€ TotalTry - 1 PRINT "Number of gues s", TotalTry Find the four errors in the pseudocode and suggest a correction to remove each error, Error 1.. Correction .. Error 3... Correction ... Error 4... Correction .. [4] of14 ‘te City Sebel} Voted Mock Examination, March 2024 / Computer Science P2/ 035521 Page 2.2 Four descriptions and programming concepts are shown. Write the correct programming concept infront of the description, Library routine structure diagram procedure function (i) Asubroutine that may not return a value, standard subroutine that is available for immediate use, i (ii) A subroutine that can be used in an assignment statement. (iv) An overview of a program or subroutine. (4) Four stages of program development life cycle and four descriptions are shown. Draw line to link each stage to the most appropriate description. Each module of a program is written using a Design suitable programming language. ai Structure charts, flowcharts & pseudocodes are coe. made in this stage i The completed programs are now checked and Analysis run with different sets of data : The decomposition of the problem is done to Testing identify what is exactly required in the program. (4 puter cence F2/Class 33 Page 3 of 14 ty Sebel] Void Mock examination, March 2028 / C24 The table AUDIOPARTS stores the part number, description, cost and quantity in stock of the items sold by a music shop. Tower Speaker Skyscraper Cente Ssesker Soundbar Sounsbar Ceiling Surround Speaker ee Ceiling Full Range Speaker 400.00 1 | Sumound Speaker ~~~ 00.00 er Stands (Pat) 75.00 (a State the number of records in the table AUDIOPARTS [1] (0 Identify the field that is most suitable to be a primary key and give a reason for your choice Field name .. Reason Q] (c) Complete the structured query language (SQL) to return the quantity in stock fewer than 10. Show all the fields from the database table in descending order of cost. FROM WHERE Cost (5) ite ity hua Uri Mock Examination, March 202 / Computer Science F2/ 8822, Page 4 of 14output of the mentioned query in part (¢): {d) Show th (3) 5 Programs can use both local and global variables. Describe the difference between local and global variables. ‘he Cty ‘ooo! tes Nore Examination, March 2026 [Computer Scence P2/Clats 12 Page Sof 146 program checks that the data entered is between 1 and 100 inclusive. Identify one piece of normal, extreme and erroneous test data for this program, and give a reason for each, Normal test data . Reason Extreme test data Reason ...... Erroneous test data Reason (6) woo [2] (b) Write pseudocode statements to store the word 'Test' in a new file 'MyFile.txt’. Foe iy Sohal] Soe Moc Examination, Mareh 202% / Computer Seance P2/ Cass 12 Page 6 of 14@ (2). Draw flow chart for the program: ite 1 2 3 4 5 6 7 8 9 Initialise the variables where necessary, input a of number. Ifa Ois entered then goto step 8, count the numbers. calculate their total. find highest value. Go to step 2 calculate and out total and average output highest number 10 end the algorithm ‘iy bel} ote Moc Examination, March 20% [Compute Sclence 2 / Class 13, Page 7 of 14(b) This flowchart inputs the weight of items in kilograms to be loaded on a trailer. Any item over 25 kilograms is rejected. The trailer can take up to 100 kilograms. "ART Totalweight <0 Reject —0 INPUT Weight Reject < Reject + 1 TotalWeight
100? TotalWeight
You might also like
Solution Manual For New Perspectives Microsoft Office 365 and Powerpoint 2016 Comprehensive 1St Edition Pinard Finnegan 1305881230 9781305881235
PDF
100% (33)
Solution Manual For New Perspectives Microsoft Office 365 and Powerpoint 2016 Comprehensive 1St Edition Pinard Finnegan 1305881230 9781305881235
56 pages
Data Structures & Algorithms in Python 1st Edition John Canning - Ebook PDF Download
PDF
100% (4)
Data Structures & Algorithms in Python 1st Edition John Canning - Ebook PDF Download
61 pages
Cambridge IGCSE: Computer Science 0478/22
PDF
No ratings yet
Cambridge IGCSE: Computer Science 0478/22
16 pages
Pearson Edexcel iLowerSecondary Computing Year 9 Checkpoint Study Guide
PDF
100% (1)
Pearson Edexcel iLowerSecondary Computing Year 9 Checkpoint Study Guide
8 pages
2.1 Flowchart Workbook by Inqilab Patel
PDF
No ratings yet
2.1 Flowchart Workbook by Inqilab Patel
87 pages
CS P2-Mocks
PDF
No ratings yet
CS P2-Mocks
14 pages
0214 Lecture Notes
PDF
No ratings yet
0214 Lecture Notes
316 pages
Maths - Abacus - Year 4
PDF
No ratings yet
Maths - Abacus - Year 4
11 pages
Computer Science Worksheet 01 DHR - LIS
PDF
100% (1)
Computer Science Worksheet 01 DHR - LIS
27 pages
May 2024 - Paper 2
PDF
No ratings yet
May 2024 - Paper 2
20 pages
Pseudocode - Edexcel
PDF
No ratings yet
Pseudocode - Edexcel
8 pages
Computer Science Paper 2 by Aqib Khan
PDF
No ratings yet
Computer Science Paper 2 by Aqib Khan
18 pages
Year 7 ICT Notes
PDF
No ratings yet
Year 7 ICT Notes
7 pages
Igcse Ict Chapter 11 Practical Notes
PDF
No ratings yet
Igcse Ict Chapter 11 Practical Notes
10 pages
Cambridge O Level: Computer Science 2210/22
PDF
No ratings yet
Cambridge O Level: Computer Science 2210/22
16 pages
Oops File-Converted-1 PDF
PDF
67% (6)
Oops File-Converted-1 PDF
183 pages
Computer Study Assignment
PDF
No ratings yet
Computer Study Assignment
12 pages
Practicing To Take The GRE Computer Science Test 2nbsped 0446393088 0446393096 Compress
PDF
No ratings yet
Practicing To Take The GRE Computer Science Test 2nbsped 0446393088 0446393096 Compress
87 pages
Binary Addition and Subtraction
PDF
No ratings yet
Binary Addition and Subtraction
3 pages
Access Excel
PDF
No ratings yet
Access Excel
6 pages
GCSE L1 L2 Computer Science 2020 Sample Assessment Materials For Paper 1
PDF
No ratings yet
GCSE L1 L2 Computer Science 2020 Sample Assessment Materials For Paper 1
32 pages
Chapter 6 Security Privacy and Data Integrity
PDF
No ratings yet
Chapter 6 Security Privacy and Data Integrity
91 pages
02 Computer Studies Practical Manual For Ordinary Level Students Sample - Compressed 2
PDF
No ratings yet
02 Computer Studies Practical Manual For Ordinary Level Students Sample - Compressed 2
23 pages
Higher Computing Science - HCOMPPEP - Alford, David - 2017 - London - Hodder Education Group - 9781510413788 - Anna's Archive
PDF
No ratings yet
Higher Computing Science - HCOMPPEP - Alford, David - 2017 - London - Hodder Education Group - 9781510413788 - Anna's Archive
108 pages
Create and Learn Excel in One Day
PDF
100% (1)
Create and Learn Excel in One Day
38 pages
More Stable and Secure Connection
PDF
No ratings yet
More Stable and Secure Connection
3 pages
T1 Boolean Logic GCSE Computer Science
PDF
100% (1)
T1 Boolean Logic GCSE Computer Science
45 pages
WB Chapter 1 Data Representation
PDF
No ratings yet
WB Chapter 1 Data Representation
21 pages
Resume 1
PDF
No ratings yet
Resume 1
3 pages
Note Ict 2 PDF
PDF
0% (1)
Note Ict 2 PDF
5 pages
The Diffrence Between Scratch and Python
PDF
No ratings yet
The Diffrence Between Scratch and Python
3 pages
Computing Infographic
PDF
No ratings yet
Computing Infographic
1 page
Aissce Practical Exam CS Question Paper - 2023-24
PDF
No ratings yet
Aissce Practical Exam CS Question Paper - 2023-24
5 pages
Class 9 Chapter 3
PDF
No ratings yet
Class 9 Chapter 3
15 pages
8.01 Page Formatting
PDF
No ratings yet
8.01 Page Formatting
20 pages
Computer Science Paper
PDF
No ratings yet
Computer Science Paper
16 pages
Data Base PDF
PDF
No ratings yet
Data Base PDF
95 pages
CH 1 UnderstandingAlgorithms Updated
PDF
No ratings yet
CH 1 UnderstandingAlgorithms Updated
58 pages
Introduction To Python - Worksheet
PDF
No ratings yet
Introduction To Python - Worksheet
12 pages
Career Hackers: Hack Your Career Today Python in Finance
PDF
100% (1)
Career Hackers: Hack Your Career Today Python in Finance
26 pages
Anurag's Resume - 6
PDF
No ratings yet
Anurag's Resume - 6
1 page
Mock 2024-25 O Level Date Sheet
PDF
No ratings yet
Mock 2024-25 O Level Date Sheet
1 page
Computer Science Problem-Solving and Design
PDF
No ratings yet
Computer Science Problem-Solving and Design
85 pages
Abdul Wahab Alvi - Power BI Analyst - Resume
PDF
No ratings yet
Abdul Wahab Alvi - Power BI Analyst - Resume
1 page
Function: Mock - 5 (Practice Paper) Mathematics - B
PDF
No ratings yet
Function: Mock - 5 (Practice Paper) Mathematics - B
23 pages
Practical File (Adarsh)
PDF
No ratings yet
Practical File (Adarsh)
53 pages
12.2 Data Normalisation: Prepared By: Mohammad Nabeel Arshad
PDF
No ratings yet
12.2 Data Normalisation: Prepared By: Mohammad Nabeel Arshad
21 pages
CS712 Assignment 1
PDF
No ratings yet
CS712 Assignment 1
7 pages
Information Technology: International Advanced Level Scheme of Work Unit 1
PDF
No ratings yet
Information Technology: International Advanced Level Scheme of Work Unit 1
11 pages
Monday 11 May 2020: Information and Communication Technology (ICT)
PDF
No ratings yet
Monday 11 May 2020: Information and Communication Technology (ICT)
20 pages
12th Computer Science EM - WWW - Tntextbooks.in
PDF
No ratings yet
12th Computer Science EM - WWW - Tntextbooks.in
360 pages
Computer Science (9608)
PDF
No ratings yet
Computer Science (9608)
38 pages
Unit 9 Secuity Privacy and Data Integrity
PDF
No ratings yet
Unit 9 Secuity Privacy and Data Integrity
7 pages
What Is Computer Programming? Basics To Learn Coding
PDF
No ratings yet
What Is Computer Programming? Basics To Learn Coding
5 pages
1.1 Algorithms
PDF
No ratings yet
1.1 Algorithms
68 pages
2.3 Database Workbook by Inqilab Patel
PDF
No ratings yet
2.3 Database Workbook by Inqilab Patel
70 pages
Gcse Information and Communication Technology
PDF
No ratings yet
Gcse Information and Communication Technology
19 pages
Unit 1: Understanding Ict: A.M. FRIDAY, 13 January 2012 1 Hours
PDF
No ratings yet
Unit 1: Understanding Ict: A.M. FRIDAY, 13 January 2012 1 Hours
20 pages
Computer Studied Past Papers 2210
PDF
No ratings yet
Computer Studied Past Papers 2210
88 pages
Monthly Test October 2020: Computer Science
PDF
No ratings yet
Monthly Test October 2020: Computer Science
8 pages
Khyber, Hunain, Mutah and Tabuk
PDF
No ratings yet
Khyber, Hunain, Mutah and Tabuk
6 pages
Quranic Passages (Concise)
PDF
No ratings yet
Quranic Passages (Concise)
10 pages
Presentation On Various Types of Data IN Microsoft Excel
PDF
No ratings yet
Presentation On Various Types of Data IN Microsoft Excel
11 pages
Cambridge O Level: Chemistry 5070/41
PDF
No ratings yet
Cambridge O Level: Chemistry 5070/41
8 pages
MOCK EXAM (Biology, p1, Class-11) 2023-24
PDF
No ratings yet
MOCK EXAM (Biology, p1, Class-11) 2023-24
15 pages
Part (B) 'S From P2 For Chapter Quran
PDF
No ratings yet
Part (B) 'S From P2 For Chapter Quran
3 pages