[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-detail-207549-en":3,"doc-seo-207549-105":30,"detail-sidebar-cat-0-en-105":90},{"code":4,"msg":5,"data":6},0,"success",{"doc_id":7,"user_id":8,"nickname":9,"user_avatar":10,"doc_module":4,"category_id":11,"category_name":12,"doc_title":13,"doc_description":14,"doc_content":15,"file_id":16,"file_url":17,"file_type":18,"file_size":19,"view_count":4,"is_deleted":4,"is_public":20,"is_downloadable":20,"audit_status":20,"page_count":21,"language":22,"language_code":23,"site_id":24,"html_lang":23,"table_of_contents":25,"faqs":26,"seo_title":27,"seo_description":14,"update_tm":28,"read_time":29},207549,1099523882367,"Jordan Avery","https://ap-avatar.wpscdn.com/davatar_9964176cb1d06d4a9deccf72a44ae3dc",4,"Exam","June 2023 QP - Paper 2 OCR Computer Science GCSE","GCSE Computer Science examination paper focused on computational thinking, algorithms, and programming. The assessment includes classification of programming languages as low-level or high-level, pseudocode practice for arithmetic operations, operator completion in partial algorithms, and tracing a loop-based routine using a trace table. Additional sections require identification and correction of syntax versus logic errors in a flawed array-summing algorithm, and explanation of variables within an insertion sort pseudocode procedure.","Oxford Cambridge and RSA  \nThursday 25 May 2023 – Afternoon GCSE (9–1) Computer Science  \nJ277/02 Computational thinking, algorithms and programming Time allowed: 1 hour 30 minutes  \nDo not use:  \n• a calculator  \nPMT  \n\n| Please write clearly in black ink. Do not write in the barcodes. |  |  |  |\n| --- | --- | --- | --- |\n| Centre number |  | Candidate number |  |\n| First name(s)  \u003Cbr>Last name   |  |  |  |\n\nINSTRUCTIONS  \n• Use black ink.  \n• Write your answer to each question in the space provided. If you need extra space use the lined pages at the end of this booklet. The question numbers must be clearly shown.  \n• Answer all the questions.  \nINFORMATION  \n• The total mark for this paper is 80.  \n• The marks for each question are shown in brackets [ ] .  \n• This document has 20 pages.  \nADVICE  \n• Read each question carefully before you start your answer.  \n© OCR 2023 [601/8355/X] DC (ST) 326517/4  \nOCR is an exempt Charity  \nTurn over  \nPMT  \n2  \nSECTION A  \n1 (a) The table contains four statements about programming languages.  \nTick (3) one box in each row to identify whether each statement describes a low-level  \nprogramming language or a high-level programming language.  \n\n| Statement | Low-level | High-level |\n| --- | --- | --- |\n| The same language can be used on computers that use different hardware |  |  |\n| It allows the user to directly manipulate memory |  |  |\n| It allows the user to write English-like words |  |  |\n| It always needs to be translated into object code or machine code |  |  |\n\n[4]  \n(b) The variables num1 and num2 store integers.  \nWrite pseudocode to add the integers stored in num1 and num2 . Store the result in a variable with the identifier total  \n...................................................................................................................................................  \n.............................................................................................................................................. [ 1]  \n(c) Three incomplete pseudocode algorithms are given with a description of the purpose of each algorithm.  \nWrite the missing arithmetic operator for each algorithm.  \n(i) Outputting 12 to the power of 2.  \nprint(12   2) [1]  \n(ii) Working out if a number is odd or even.  \nnumber = 53  \nif number   2 == 0 then  \nprint(\"Even number\")  \nelse  \nprint(\"Odd number\")  \nendif [1]  \nPMT  \n3  \n(iii) Finding the difference between two measurements.  \nmeasurement1 = 300  \nmeasurement2 = 100  \ndifference = measurement1   measurement2 [1]  \n(d) Read the following pseudocode algorithm:  \n01 start = 3  \n02 do  \n03 print(start)  \n04 start = start - 1  \n05 until start == -1  \n06 print(\"Finished\")  \nComplete the following trace table for the given algorithm.  \n\n| Line number | start | Output |\n| --- | --- | --- |\n|  |  |  |\n|  |  |  |\n|  |  |  |\n|  |  |  |\n|  |  |  |\n|  |  |  |\n|  |  |  |\n|  |  |  |\n|  |  |  |\n|  |  |  |\n|  |  |  |\n|  |  |  |\n|  |  |  |\n|  |  |  |\n|  |  |  |\n|  |  |  |\n|  |  |  |\n|  |  |  |\n\n[3]  \n© OCR 2023 Turn over  \nPMT  \n4  \n2 This pseudocode algorithm totals all the numbers in the 0-indexed array scores  \n01 total = 0  \n02 for scoreCount = 1 to scores.length – 1  \n03 scores[scoreCount] = total + total  \n04 next scoreCount  \n05 print(total)  \nThe function length returns the number of elements in the array.  \nThe algorithm contains several errors.  \nTwo types of errors in a program are syntax and logic errors.  \n(a) State what is meant by a syntax error and a logic error. Syntax error ..............................................................................................................................  \n...................................................................................................................................................  \nLogic error ................................................................................................................................  \n......................................................","cbCaidG20f49sjFv","https://ap.wps.com/l/cbCaidG20f49sjFv","pdf",778361,1,20,"English","en",105,"# SECTION A\n## Question 1\n## Question 2\n## Question 3","[{\"question\":\"What programming language features are students asked to compare?\",\"answer\":\"Students compare four statements to decide whether each describes a low-level or a high-level programming language, including direct memory manipulation, English-like wording, hardware independence, and whether translation to machine code is always required.\"},{\"question\":\"What kinds of pseudocode tasks appear in the paper?\",\"answer\":\"Tasks include writing pseudocode to add two integers, supplying missing arithmetic operators in incomplete algorithms, and completing a trace table for a loop that prints values and a final message.\"},{\"question\":\"How do the questions test understanding of errors and sorting algorithms?\",\"answer\":\"Students define syntax versus logic errors, then identify and rewrite corrected lines to fix logic issues in a flawed array-totaling algorithm. Another question evaluates understanding of insertion sort by asking about the purpose of a temporary variable in the pseudocode.\"}]","June 2023 QP - Paper 2 OCR Computer Science GCSE | PDF",1788599968,50,{"code":4,"msg":31,"data":32},"ok",{"site_id":24,"language":23,"slug":33,"title":13,"keywords":34,"description":14,"schema_data":35,"social_meta":85,"head_meta":87,"extra_data":89,"updated_unix":28},"june-2023-qp-paper-2-ocr-computer-science-gcse","",{"@graph":36,"@context":84},[37,53,67],{"@type":38,"itemListElement":39},"BreadcrumbList",[40,44,48,51],{"item":41,"name":42,"@type":43,"position":20},"https://docshare.wps.com","Home","ListItem",{"item":45,"name":46,"@type":43,"position":47},"https://docshare.wps.com/document/","Document",2,{"item":49,"name":12,"@type":43,"position":50},"https://docshare.wps.com/document/exam/",3,{"item":52,"name":13,"@type":43,"position":11},"https://docshare.wps.com/document/june-2023-qp-paper-2-ocr-computer-science-gcse/207549/",{"url":52,"name":13,"@type":54,"author":55,"headline":13,"publisher":57,"fileFormat":60,"inLanguage":23,"description":14,"dateModified":61,"datePublished":61,"encodingFormat":60,"isAccessibleForFree":62,"interactionStatistic":63},"DigitalDocument",{"name":9,"@type":56},"Person",{"url":41,"name":58,"@type":59},"DocShare","Organization","application/pdf","2026-09-05",true,{"@type":64,"interactionType":65,"userInteractionCount":4},"InteractionCounter",{"@type":66},"ViewAction",{"@type":68,"mainEntity":69},"FAQPage",[70,76,80],{"name":71,"@type":72,"acceptedAnswer":73},"What programming language features are students asked to compare?","Question",{"text":74,"@type":75},"Students compare four statements to decide whether each describes a low-level or a high-level programming language, including direct memory manipulation, English-like wording, hardware independence, and whether translation to machine code is always required.","Answer",{"name":77,"@type":72,"acceptedAnswer":78},"What kinds of pseudocode tasks appear in the paper?",{"text":79,"@type":75},"Tasks include writing pseudocode to add two integers, supplying missing arithmetic operators in incomplete algorithms, and completing a trace table for a loop that prints values and a final message.",{"name":81,"@type":72,"acceptedAnswer":82},"How do the questions test understanding of errors and sorting algorithms?",{"text":83,"@type":75},"Students define syntax versus logic errors, then identify and rewrite corrected lines to fix logic issues in a flawed array-totaling algorithm. Another question evaluates understanding of insertion sort by asking about the purpose of a temporary variable in the pseudocode.","https://schema.org",{"og:url":52,"og:type":86,"og:title":13,"og:site_name":58,"og:description":14},"article",{"robots":88,"canonical":52},"index,follow",{"doc_id":7,"site_id":24},{"code":4,"msg":5,"data":91},[92,96,100,103,108,112,117,122,126,129,133],{"id":20,"doc_module":4,"doc_module_name":46,"category_name":93,"show_sort_weight":94,"slug":95},"Story & Novel",90,"story-novel",{"id":47,"doc_module":4,"doc_module_name":46,"category_name":97,"show_sort_weight":98,"slug":99},"Literature",80,"literature",{"id":11,"doc_module":4,"doc_module_name":46,"category_name":12,"show_sort_weight":101,"slug":102},70,"exam",{"id":104,"doc_module":4,"doc_module_name":46,"category_name":105,"show_sort_weight":106,"slug":107},5,"Comic",60,"comic",{"id":109,"doc_module":4,"doc_module_name":46,"category_name":110,"show_sort_weight":29,"slug":111},6,"Technology","technology",{"id":113,"doc_module":4,"doc_module_name":46,"category_name":114,"show_sort_weight":115,"slug":116},7,"Healthcare",40,"healthcare",{"id":118,"doc_module":4,"doc_module_name":46,"category_name":119,"show_sort_weight":120,"slug":121},8,"Research & Report",30,"research-report",{"id":123,"doc_module":4,"doc_module_name":46,"category_name":124,"show_sort_weight":21,"slug":125},9,"Religion & Spirituality","religion-spirituality",{"id":21,"doc_module":4,"doc_module_name":46,"category_name":127,"show_sort_weight":21,"slug":128},"World Cup","world-cup",{"id":130,"doc_module":4,"doc_module_name":46,"category_name":131,"show_sort_weight":130,"slug":132},10,"Lifestyle","lifestyle",{"id":134,"doc_module":4,"doc_module_name":46,"category_name":135,"show_sort_weight":104,"slug":136},19,"General","general"]