OCR A level Computer Science Paper 2 Exam Revision Questions and Answers
Abstraction Representation that is arrived at by removing unnecessary details Pop Remove and return the last item from a list/data structure Push To add an item to the top of a stack/end of a queue/list Depth First Traversal Each node in one branch is visited before backtracking to explore the next branch. Breadth First Traversal Begins at a root node and inspects all the neighboring nodes. Then for each of those neighbor nodes in turn, it inspects their neighbor nodes which were unvisited, and so on. Binary Tree a tree in which each node has at most two children. Binary Search Tree A binary tree with the property that for all parent nodes, the left subtree contains only values less than the parent, and the right subtree contains only values greater than the parent. This means it can be searched quickly
Written for
- Institution
- A level Computer Science
- Course
- A level Computer Science
Document information
- Uploaded on
- February 12, 2024
- Number of pages
- 4
- Written in
- 2023/2024
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Subjects
-
ocr a level computer science paper 2 exam revision
-
abstraction representation that is arrived at by
-
pop remove and return the last item from a listd
-
push to add an item to the top of a stackend of
Also available in package deal