Complexity - Space Flashcards

1
Q

Do define the classes SPACE and NSPACE

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

What is the realtionship between the class TIME(f(n)) and the class SPACE(f(n))?

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

The proof is mathimatical from the number of configurations in a TM that runs on f(n) space.

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

Define PSPACE and NPSPACE

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

To what memory class does the language SAT belong? What is the idea of the proof?

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

Why is NP contained in PSPACE? (Intuition of the proof)

A

Because a language L in NP can be verified in polynomial time. Thus a TM can be built that decides L in polynomial time by running all the possible verifiers (of which there is a finite number). each verification is in polynomial time - and therefore in polynomial space. The TM reuses the same space for testing each verifier.

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

Define PSPACE-HARD / COMPLETE

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

What are sub-linear space complexity classes?

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

Do define the languages L and NL.

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

What languages are in L?

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

What is the language EQ? To what Space complexity class does it belong?

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

Please name languages in PSPACE.

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

Please name languages that are PSPACE-Complete.

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

Please name languages in NL.

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

What languages are in NPSPACE?

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

What are the stages in the proof?

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

Please name languages in L.

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

Name a language in PSPACE

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

What languages are NL-complete?

23
Q

What is the language PATH?
To what classes does it belong?

A

In addition, PATH belongs to SPACE((logn)squared).

24
Q

What languages are PSPACE-complete?

25
What is the language TQBF? Where does it belong?
## Footnote An entire TA was dedicated to proving that **TQBF is PSPACE-complete.** it is **The** PSPACE-complete Language.
26
Please define: A languge A is NL-complete
27
28
## Footnote Note that P is in NP is in NP is in PSPACE is equal to NSPACE
29
How much space does it take to count a polynomial number of items (for example - vertices)?
Logarithmic space.
30
What classes are closed under completion?
Time: R, (RE U coRE)c, P and all the space complexity classes.
31
32
What classes are definitely **not** equal to each other?
NL doesn't equal PSPACE. P doesn't equal EXP.
33
34
35
36
37
**if** P where to equal NP: What wold the relationship between NP and coNP be?
38
Based on the reduction in the picture, what does the reduction theorm say about the class of A-NFA?
The reduction theorem won't say here that A-NFA is also in L because, in order to prove that you would need to show a log space reduction. This is becase the idea of the reduction theorem is that you could use the reduction so you could solve language A by solving language B.
39
What classes is PATH in?
P, NLC
40
What classes is SAT in?
NPC, PSPACE=NPSPACE
41
Could the prossess of going over a graph A and creating a graph B with an edge between every two vertices that do not have an edge between them in A - count as a "reduction"?
Yes. (And that is how the reduction from IS to CLIQUE works).
42
To what operations are the following classes closed? L, NL, coNL, P, NP, coNP, PSPACE, NPSPACE, EXP? NP-H\C, coNP-H\C, PSPACE-H\C, NPSPACE-H\C?
43
Please define the language: StronglyConn
StronglyConn = {(G) s.t G is strongly connected.} A graph is said to be strongly connected if every vertex is reachable from every other vertex. The strongly connected components of an arbitrary directed graph form a partition into subgraphs that are themselves strongly connected.
44
45
46
Show a log-space reduction from PATH to K2.
47
48
## Footnote 2017 Moed A