0% found this document useful (0 votes)
63 views2 pages

X Is The Inputted Name) .: Csuk:Teacher Csuk Csuk:Revisecs

The document contains information about converting between binary and decimal, appropriate data types for variables, data encryption software, the purpose of an ALU in a CPU, and what a compiler is. It includes an example algorithm that asks a user for their name and prints it back to them.

Uploaded by

hadibenmansour
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)
63 views2 pages

X Is The Inputted Name) .: Csuk:Teacher Csuk Csuk:Revisecs

The document contains information about converting between binary and decimal, appropriate data types for variables, data encryption software, the purpose of an ALU in a CPU, and what a compiler is. It includes an example algorithm that asks a user for their name and prints it back to them.

Uploaded by

hadibenmansour
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/ 2

6 A Day LITE January 1st

Convert the binary number The most appropriate data type This utility will scramble data so
01011100, into decimal. of a variable that contains a that if it is intercepted, it would be
username would be... unreadable.

In a CPU, the ALU stands for... Write an algorithm which asks the What is a compiler?
user for their name, stores it in a
variable, then outputs the
message “Your name is x” (where
x is the inputted name).

CSUK CSUK:Teacher CSUK:ReviseCS


© computerscienceuk.com | csuk.io teacher.computerscienceuk.com | csukteacher.com revisecs.computerscienceuk.com | revisecs.com
6 A Day LITE January 1st

Convert the binary number The most appropriate data type This utility will scramble data so
01011100, into decimal. of a variable that contains a that if it is intercepted, it would be
username would be… unreadable.

128 64 32 16 8 4 2 1

0 1 0 1 1 1 0 0
String Encryption
64 + 16 + 8 + 4 = 92
Software
In a CPU, the ALU stands for… Write an algorithm which asks the What is a compiler?
user for their name, stores it in a
variable, then outputs the
message “Your name is x” (where
x is the inputted name). A translator which converts

Arithmetic
source code into machine code,
in one go, producing an
name = input(“Enter name”) executable file, that the CPU can
Logic Unit print(“Your name is” + name) run without the translator needing
to be present.

CSUK CSUK:Teacher CSUK:ReviseCS


© computerscienceuk.com | csuk.io teacher.computerscienceuk.com | csukteacher.com revisecs.computerscienceuk.com | revisecs.com

You might also like