Top Banner
Evaluation Test 2016 Winter Prepared by: Berk Soysal
21

Self Evaluation Test

Apr 14, 2017

Download

Software

Berk Soysal
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Self Evaluation Test

Self Evaluation Test

2016 Winter

Prepared by: Berk Soysal

Page 2: Self Evaluation Test

Multiple Choice Questions

(b)

(d)

Page 3: Self Evaluation Test

Multiple Choice Questions

(b)

(d)

Page 4: Self Evaluation Test

Multiple Choice Questions

(c)

(a)

Page 5: Self Evaluation Test

Multiple Choice Questions

(c)

(a)

(c)

Page 6: Self Evaluation Test

Multiple Choice Questions

(c)

(a)

Page 7: Self Evaluation Test

Multiple Choice Questions

(c)

(a)

Page 8: Self Evaluation Test
Page 9: Self Evaluation Test

12

169

1 15

13

Page 10: Self Evaluation Test
Page 11: Self Evaluation Test
Page 12: Self Evaluation Test

Q2

Page 13: Self Evaluation Test

Q2

Page 14: Self Evaluation Test

Q3

Page 15: Self Evaluation Test

static void mirrorTree(node root){

if(root == null) return;

node left = root.getLeft();node right = root.getRight();node.setLeft(right);node.setRight(left);mirrorTree(right);mirrorTree(left);}

Q3

Page 16: Self Evaluation Test

Q4

Page 17: Self Evaluation Test

Q4

Page 18: Self Evaluation Test

Q5

Page 19: Self Evaluation Test

Q5

4 1 2

555 100 999

list1

list2

Page 20: Self Evaluation Test

Q5

4 1 2Node p

Node q = p.next

list2555 100 999

list1.insertAfter(1, list2);

otherFirst otherLast

p.next = otherFirst;otherFirst.previous = p;otherLast.next = q;q.previous = otherLast;

Page 21: Self Evaluation Test

CONGRATS!YOU HAVE COMPLETED THE TUTORIALS

Provided by http://Soysal.tk