0% found this document useful (0 votes)
12 views5 pages

Year 10 Computer Science - End of Term 1 Revision Slides

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

Year 10 Computer Science - End of Term 1 Revision Slides

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

Overflow errors: Sometimes, when adding two binary numbers we can end

up with an extra digit that doesn’t fit. This is called an overflow error.
Artificial Intelligence
Think of:

● Characteristics of AI
● Uses of AI
● Ethical Issues

Discuss:

● Specific real-world examples to illustrate


AI's applications.
● Highlight both positive and negative
impacts on different sectors and daily life.
● Discuss ethical dilemmas and propose
solutions, such as regulation and bias
mitigation in AI models.
Boolean Logic statements
Order of precedence: NOT > AND > OR.

● Example: A OR B AND NOT C is evaluated as A OR (B AND (NOT C)).


Constructing flowcharts for an algorithm
Common Flowchart Symbols:

● Oval (Terminator): Start or end of the algorithm.


● Parallelogram (Input/Output): Denotes input from the user or output to the user.
● Rectangle (Process): Represents a task or process to be carried out.
● Diamond (Decision): Used for decision-making (True/False or Yes/No conditions).
● Arrow: Shows the flow or direction from one step to another.

Steps to Construct a Flowchart:

● Identify the tasks in the algorithm.


● Decide the order of tasks and decisions.
● Use appropriate symbols for each task (input/output, process, decision).
● Connect the symbols with arrows to show the flow.
● Make sure the flowchart is clear and each decision leads to the next step.
Programming Revision:
1. Memorise the function and the library for entering a random number in python and also know how to:

● Know how to initialize variables (counter, answer, guess).


● Know how to use a while loop to check if the user input matches the answer.
● Know how to end the loop when the correct input is entered.
● Know how to display the total number of user inputs by the user.

2. While loops and Square and Cube of a Number:

● Know how to use a while loop to continuously ask the user for an input.
● Know how to check the user input against the criteria provided in the question (e.g. if userInput < 50:).
● Know how to calculate and display the square and cube of numbers using the correct functions and operators in python.
● Know how to break a loop OR ensure your loop has all conditions covered.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy