Save
...
Terms
1
1.4
Save
Share
Learn
Content
Leaderboard
Learn
Created by
kayzz
Visit profile
Cards (46)
What is the logical operator
AND
(∧) used for?
It returns
TRUE
(or
1
) if and only if all
inputs
are
TRUE
(or
1).
View source
What does ASCII stand for?
American Standard Code
for
Information Interchange.
View source
What is the binary number system?
A number system that only uses
ones
and
zeros
to represent
numbers.
View source
What is bitwise manipulation?
Operations
performed on a set of
bits.
View source
What values can a Boolean data type store?
One of two possible values:
1
or
0
,
TRUE
or
FALSE.
View source
What is a character data type used for?
Storing a
letter
,
number
, or
special
character.
View source
What is the denary number system?
A number system that only uses
10 characters
(
0
to
9
) to represent numbers.
View source
What does floating point arithmetic involve?
Performing arithmetic operations on
floating
point
numbers
in
binary.
View source
What is the hexadecimal number system?
A number system that only uses
16
characters (
0
to
9
and
A
to
F
) to represent numbers.
View source
What is an integer data type used for?
Storing
whole number values (
positive
or
negative
) with
no
decimal parts.
View source
What does the logical operator OR (∨) return?
TRUE
(or
1
) if any one of the
inputs
are
TRUE
(or
1
).
View source
What is a primitive data type?
A basic
built-in
data type provided by a programming
language.
View source
What is the real/floating point data type used for?
Storing numbers
with
decimal
or
fractional
parts.
View source
What are shifts in bitwise manipulation?
A manipulation where a set of bits are moved by
one
place in a given
direction.
View source
What is a string data type used for?
Storing a sequence of
alphanumeric characters
or symbols, typically within
quotation marks.
View source
What is Two’s Complement?
A method of storing
negative numbers
in binary by flipping all
bits
and
adding 1.
View source
What is
UNICODE
?
A character set that is a
superset
of ASCII used to represent
characters
as
integer code points.
View source
What does XOR return?
TRUE
(or
1
) if and only if exactly
1
of the inputs are
TRUE
(or
1).
View source
What is an array?
A
data structure
for storing a
finite
,
ordered
set of
data
of the
same data type
within a
single identifier.
View source
What is a Binary Search Tree?
A tree where each node cannot have more than
2 children
and the
right
node has a
greater
value than the
root
node.
View source
What is Breadth First Traversal?
A method of
traversing
a
graph
by visiting all the
neighbours
of the
first node
before moving to the
next.
View source
What is Depth First Traversal?
A method of traversing a graph by travelling as
far
as possible along
one
route before
backtracking.
View source
What are directed graphs?
A graph where the
order
of the vertices
paired
in an
edge
matters, and the
edges
are
one
way.
View source
What is a graph?
A
data structure
consisting of a set of
vertices
/
nodes
connected by
edges
/
arcs.
View source
What is a hash table?
A
data structure
where a hashing
algorithm calculates
a
value
to determine where a data item is
stored.
View source
What are linked lists?
A
data structure
that
stores
an
ordered sequence
of
data
where each
item
has a
pointer
to the
next item.
View source
What is a list?
A
data structure
that stores a sequence of data values, each with a
unique index.
View source
What is a queue?
A
first-in-first-out
(FIFO) data structure where the
first
item added is the
first
to be removed.
View source
What is a record?
A
data structure
that
stores data
in elements called
fields
, organized based on
attributes.
View source
What is a stack?
A
last-in-first-out
(
LIFO
) data structure where the
last
item added is the
first
to be removed.
View source
What is a tree in data structures?
A
data structure
that uses
linked nodes
to form a
hierarchical
structure starting at a
root
node.
View source
What is a tuple?
A
data structure
for
storing
an
immutable
,
ordered
set of
data
, which can be of
different data types.
View source
What are
undirected graphs
?
A graph where the
order
of the vertices
paired
in an
edge
does
not matter
, and the edges are
bidirectional.
View source
What are the Association Laws in Boolean algebra?
A ∧ (B∧C) = (A∧B) ∧
C
and A ∨ (B∨C) = (A∨B) ∨
C.
View source
What are Boolean expressions?
A
combination
of boolean variables and
logical operators
which evaluates to either
TRUE
or
FALSE.
View source
What is Boolean logic?
A type of algebra with
logical operators
where
all values
and
expressions
ultimately
reduce
to
TRUE
or
FALSE.
View source
What are the Commutation Laws in Boolean algebra?
A∧B
=
B∧A
and
A∨B
=
B∨A.
View source
What is
De Morgan’s
First Law?
¬(
A∨B)
= ¬A ∧¬B.
View source
What is
De Morgan’s
Second Law?
¬(A∧B) = ¬A ∨¬B.
View source
What are the Distribution Laws in Boolean algebra?
A∧
(
B∨C
) = (
A∧B
) ∨ (A∧C) and (A∨B) ∧ (C∨D) = (
A∧C
)
∨
(
A∧D
)
∨
(
B∧C
)
∨
(
B∧D
)
.
View source
See all 46 cards