Programming languages Flashcards

1
Q

HTML tag

A

<html> </html>

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

head tag

A

<head> </head>

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

title tag

A

<title> </title>

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

body tag

A

<body> </body>

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

headings tag

A

<h1> </h1>

to <h6> </h6>

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

paragraph tag

A

<p> </p>

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

italic tag

A

<i> </i>

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

bold tag

A

<b> </b>

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

centre align tag

A

<center> </center>

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

hyperlink tag

A

<a> </a>
no spaces with =

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

mailto tag

A

<a> </a>

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

unordered list tag

A

<ul> </ul>

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

list item tag

A

<li> </li>

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

blockquote tag

A

<blockquote> </blockquote>

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

horizontal rule tag

A

<hr></hr>

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

image tag

A

<img></img> </img>

17
Q

Input assembly language
Does what

A

INP
Inputs a value and stores it in the accumulator

18
Q

output assembly language
Does what

A

OUT
Displays (outputs) contents of the accumulator

19
Q

Store assembly language
Does what

A

STA
transfers a number from the accumulator to RAM

20
Q

load assembly language
Does what

A

LDA
transfers a number from RAM to the accumulator

21
Q

add assembly language
Does what

A

ADD
adds the contents of a RAM address to the contents of the accumulator

22
Q

subtract assembly language
Does what

A

SUB
subtracts the contents of a RAM address from the contents of the accumulator

23
Q

brach assembly language
Does what

A

BRA
Jump PC’s contents to the RAM location (line) specified - used for loops

24
Q

end/stop/halt assembly language
Does what

A

HLT
stops the processor

25
Q

data defintion assembly language
Does what

A

DAT
Defines variables

26
Q

How to introduce your object to the object it will collide with an remove

A

Actor Name;

27
Q

How to tell your object which instance of the object its been introduced to it cares about

A

Name = getOneObjectAtOffset(0,0,Name.class)

28
Q

How to introduce your object to the world

A

WorldName worldName = (WorldName)getWorld();

29
Q

How to remove the object

A

worldName.removeObject(Name);

30
Q

How to play a sound

A

Greenfoot.playSound(“pop.wav”)

31
Q

What to do first when dealing with the counter

A

move the new counter code out of the world’s prepare method

32
Q

How to create a new method to allow objects to access the counter

A

public Counter getCounter()
{
return counter;
}

33
Q

How to introduce the counter to your object

A

Counter counter = worldName.getCounter()

34
Q

How to bump the counter

A

counter.bumpCounter(1);