Beruflich Dokumente
Kultur Dokumente
This is an individual, closed-book (and notes, cell phone, ...) exam. You have 15 minutes. Write
CS250 in the Subject and Sample in the Test No. fields of your scantron form. Do not use
your pen name. For every question, select the correct choice or select [-E-] if no proposed choice is
correct. I cannot answer questions during the exam. You can keep this test.
1.
2.
3.
(X 0 )0 = X
0 = U
A A0 =
(A B)0 = A0 B 0
6.
{1, 2, 3, 4, 5, 6}
{1, 2, 3, 4}
{5, 6}
5.
{1, 2, 3, 4, 5, 6}
{1, 2, 3, 4}
{5, 6}
4.
X
X
X
X
=Y
Y
Y
6= Y
{1, 2, 3}
[1, 2, 3]
(1, 2, 3)
h1, 2, 3i
7.
8.
9.
X
X
X
X
=Y
Y
Y
6= Y
Let G be a graph with vertices {a, b, c, d} and edges {{a, b}, {b, c}, {c, d}, {d, a}, {a, c}}.
The chromatic number of G is:
[-A-]
[-B-]
[-C-]
[-D-]
12.
4
8
14
16
11.
hi
b
c
hci
Let L = {a, b} and M = {ab, ba} be languages. How many strings are in (L M )2
[-A-]
[-B-]
[-C-]
[-D-]
10.
5
7
10
25
2
3
4
5
Let ha, hd, hci, hf, hyi, hxiii, he, hgiii be the list representation of a tree T .
A depth-first traversal of T is:
[-A-]
[-B-]
[-C-]
[-D-]
a, c, d, e, f, g, x, y
a, d, c, f, y, x, e, g
a, d, e, c, f, g, y, x
y, x, g, f, e, d, c, a
page 2 of 2