Summer Assessment Revision Flashcards

1
Q

What does HTML stand for?

A

Hyper Text Markup Language

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What does the following HTML Tag do?

<a href = "https://www.whitchurchhs.wales/"> WHS! </a>

A

It creates hyperlink to the Whitchurch High School website. The text on the page will say “WHS!”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What HTML tag aligns an element centrally on the web page.

A

<center>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What does the <b> tag do?

A

Sets text to appear bold on the screen.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What tags allow you to set headings of various sizes?

A

<h1> - Biggest heading
<h2>
<h3>
<h4>
<h5>
<h6> - Smallest heading

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What does the following HTML tag do?

<img src = "cat.jpeg">

A

Makes an image file called “cat.jpeg” appear in the page.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

How can you add alternate text to an image tag?

A

<img src = "cat.jpeg" alt = "A cat">

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What do the <ul> tags do?

A

Create an unordered list on the web page. An unordered list looks like a set of bullet points.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What does the HTML tag <ol> do?

A

Creates an ordered list on a web page. An ordered list looks like a numbered list.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the purpose of the <title> html tag?

A

The <title> HTML tag goes in the <head> section of the HTML file. The title tags set the text to be displayed in the browser tab.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

How do you emphasise text using HTML?

A

<em>

Tags inside the <em> tags will appear as italics

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What does CSS Stand for and what is its purpose?

A

Cascading Style Sheets
A CSS file controls the appearance of the website. It can set colours and various other styles.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What does a <table> HTML tag do?

A

The <table> tag creates a table. You can add rows to the table by using <tr> tags and add data by using <td> .

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

How would you set up a CSS rule to change the colour of all the paragraph <p> text in a document to red

A

p { color: red; }

This CSS Rule would make all text between <p> tags red.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

How do you set the background colour of a webpage using CSS rules?

A

body {background-color: green;}

The body tag contains all visible parts of the webpage.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Write a CSS rule to set all <h1> tags to the colour blue and aligned in the centre

A

h1 {color: blue;
text-align: center;
}

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

What is the name of the number system that uses only 2 digits 0 and 1 to represent all numbers?

A

Binary

Aslo sometimes called Base 2

18
Q

What is 1 single binary digit called?

A

A single binary 1 or 0 is called a Bit.

19
Q

What is a binary number that is made up of 8 bits called?
For example: 00011011

A

8 bits is called a Byte.

20
Q

Why do computers use the binary number system?

A

Compters are made up of tiny switches which can only ever be in two states “on” or “off”. Therefore a computer must interpret everything as either “ons” or “offs” we represent these as 1’s and 0’s.

21
Q

What is the name for the number system that uses 10 digits (0 1 2 3 4 5 6 7 8 9) to represent numbers?

A

Denary

Also sometimes called “Base 10” or “decimal”

22
Q

Use the placeholder values:
128 64 32 16 8 4 2 1

to conver the binary number 1010 to denary.

A

1010 in binary is the number 10 in denary.

There is a 1 under the 8 position and the 2 position.

23
Q

Use the placeholder values:
128 64 32 16 8 4 2 1

to conver the binary number 1101 to denary.

A

1101 in binary is the number 13 in denary

8 + 4 + 1 = 13

24
Q

Convert the denary number 28 into binary

A

00011100

16 + 8 + 4 = 28

25
Q

Convert the binary number 00101001 into denary.

A

41 in denary

32 + 8 + 1

26
Q

Click this link to see a truth table for a Logic gate.

What sort of Logic gate is it?

A

AND Gate

Both inputs need to be on to get an output!

27
Q

Click this link to see a truth table for a Logic gate.

What sort of Logic gate is it?

A

OR Gate

Only 1 input needs to be on to get an output

28
Q

Click this link to see a truth table for a Logic gate.

What sort of Logic gate is it?

A

NOT Gate

1 becomes a 0. 0 becomes a 1.

29
Q

How can you make Tracy the turtle move forward 50 steps?

A

forward(50)

30
Q

How do you make Tracy turn left or right 90 degrees?

A

left(90)
right(90)

31
Q

How do you stop Tracy from drawing a line when she moves across the screen?

A

penup()

32
Q

How do you make Tracy draw a line as she moves around the screen?

A

pendown()

33
Q

How do you tell Tracy to repeat something 5 times?

A

for i in range(5):
repeated code goes here!

34
Q

Write the instructions to draw a square using a loop

A

for i in range(4):
forward(50)
right(90)

35
Q

How do you make Tracy run commands faster?

A

speed(0)
1 - 10 = Slow to fast
0 = Fastest

36
Q

How do you make Tracy go back without changing the direction she is facing?

A

backward(50)

37
Q

How do you make Tracy draw a circle with a radius of 50 pixels?

A

circle(50)

38
Q

How do you make Tracy move to a specific co-ordinate on the screen?
For example, x = 100 y = -100

A

setposition(100,-100)

39
Q

What instructions would you give to Tracy to draw a rectangle with a width of 100 and height of 50?

A

for i in range(2):
forward(100)
left(90)
forward(50)
left(90)

40
Q

How can you change the color of the line Tracy draws from the default black to red?

A

color (“red”)

41
Q

How can you make Tracy draw a Hexagon?

A

for i in range(6):
forward(50)
rigth(60)

42
Q

how do you create a function for Tracy the turtle?

A

def function_name():
some code goes here!