Computational test flashcards

revise for test

1
Q

Which of the following are Boolean Operators
AND
NOT
OR
ALSO

A

AND, NOT, and OR are Boolean operators.
ALSO is not a Boolean operator.

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

what is a Venn Diagram

A

A Venn diagram is a series of overlapping circles that represents logic
in a graphic.

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

what is a Truth Table

A

A truth table is a table of the outputs from all possible combinations of
input.

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

witch Logic Gates has One Input

A

The NOT gate only has one input

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

What are the symbols for AND gates and NOT gates

A
  • The symbol for AND gate is a D-shaped symbol.
  • The symbol for NOT gate is a triangle with a small circle at the output.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
1
Q

what are OR gates and AND gates functions

A

OR Gate: An 1 output will be provided if at least one of the
inputs is 1 otherwise a 0
AND Gate: An 1 output will be provided only if both inputs are
1. otherwise 0

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

what is a logic circuit.

A

A combination of connected logic gates is called a Logic circuit

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

PRESENT/ABSENT is ______ typically used to represent inputs or outputs in
circuits.

A

PRESENT/ABSENT is not typically used to represent inputs or outputs in
circuits.

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

How many symbols does NOT gates have

A

only one

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

what is a Algorithm

A

A set of instructions that achieve a specific goal is called an algorithm.

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

how do you reduce the number of instructions in a program

A

To reduce the number of instructions, you can use repeat commands.

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

what is a nested loop

A

When repeat commands are put in other repeat commands, it is known
as a nested loop.

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

what does lossy compression mean

A

Lossy compression means the original data will lose some quality once
it is decompressed.

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

what does a Lossless compression mean

A

Lossless compression means the original data will be restored exactly
once decompressed.

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

what does ASCII means what

A

ASCII means the Table that contains characters and the binary they represent

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

what is the binary number for the letter ‘C’

3
Q

what does Abstraction mean

A

Abstraction is where we hide or remove details that aren’t important to
the problem.

4
Q

What does Decomposition mean

A

Decomposition is breaking down a problem into smaller problems that
are more manageable

5
Q

what is a Pixel

A

Each tiny, coloured square that makes up a big image is called a pixel.

6
Q

how do you find the numbers of Nodes and Edges

A

The number of nodes and edges in a network can vary based on the
specific diagram provided.

7
Q

How to find the shortest path in a Network

A

The shortest path between nodes in a network depends on the specific
connections

8
Q

To send a packet of data through a network, the two crucial information are:

A

the destination address and the packet number

9
Q

How many bits will it take to store a black and white image with a width of 10 pixels and a height of 10 pixels

A

100 bits to store the data

10
Q

From the statement “All dogs have four legs and fur but not wings,” and
knowing that Tim has two legs, is he a dog

A

he is not a dog