Summer Assessment Revision Flashcards

(42 cards)

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
Convert the binary number **00101001** into denary.
**41** in denary | 32 + 8 + 1
26
Click [this link](https://3.bp.blogspot.com/-tEq1eFjPAxY/VoaStYxZrAI/AAAAAAAAAD4/BYwSEmeGt4U/s1600/AND%2Bgate%2Btable.png) to see a truth table for a Logic gate. What sort of Logic gate is it?
AND Gate | Both inputs need to be on to get an output!
27
Click [this link](https://circuitdigest.com/sites/default/files/inlineimages/u2/OR-Gate-Truth-Table.png) to see a truth table for a Logic gate. What sort of Logic gate is it?
OR Gate | Only 1 input needs to be on to get an output
28
Click [this link](https://www.electronicsforu.com/wp-contents/uploads/2016/11/Not-gate-truthtable.jpg) to see a truth table for a Logic gate. What sort of Logic gate is it?
NOT Gate | 1 becomes a 0. 0 becomes a 1.
29
How can you make Tracy the turtle move forward 50 steps?
forward(50)
30
How do you make Tracy turn left or right 90 degrees?
left(90) right(90)
31
How do you stop Tracy from drawing a line when she moves across the screen?
penup()
32
How do you make Tracy draw a line as she moves around the screen?
pendown()
33
How do you tell Tracy to repeat something 5 times?
for i in range(5): repeated code goes here!
34
Write the instructions to draw a square using a loop
for i in range(4): forward(50) right(90)
35
How do you make Tracy run commands faster?
speed(0) 1 - 10 = Slow to fast 0 = Fastest
36
How do you make Tracy go back without changing the direction she is facing?
backward(50)
37
How do you make Tracy draw a circle with a radius of 50 pixels?
circle(50)
38
How do you make Tracy move to a specific co-ordinate on the screen? For example, x = 100 y = -100
setposition(100,-100)
39
What instructions would you give to Tracy to draw a rectangle with a width of 100 and height of 50?
for i in range(2): forward(100) left(90) forward(50) left(90)
40
How can you change the color of the line Tracy draws from the default black to red?
color ("red")
41
How can you make Tracy draw a Hexagon?
for i in range(6): forward(50) rigth(60)
42
how do you create a function for Tracy the turtle?
def function_name(): some code goes here!