Default Flashcards

0
Q

Trüffel in Farsi?

A

قارچ دنبلان

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

Wie heißt das traditionelle Brot von Äthiopien?

A

Injera

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

When was Hitlers suicide?

A

30 April 1945

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

When was Hitlers suicide?

A

30 April 1945

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

Name of first program that won top checker players

A

Chinook

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

Author of first go program able to beat beginners

A

Albert zobrist

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

Wer hat die Blindenschrift erfunden und wann?

A

Louise Braile. 1825

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

CRISP-DM Stands for?

A

Cross Industry Standard Process for Data Mining

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

In java: Are thrad names mutable or not?

A

They are mutable. Because there is a method called setName to change the name of threads

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

In Java: Can two threads have the same name?

A

Yes. Their name is not the identifier!

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

In R: Which command do we use to plot a bar chart?

A

barplot (x, xlab=””, ylab=””, names.arg= c(“”, ““,…))

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

Where did Babbage born?

A

In England

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

What was the motivation behind inventing the machine by Babbage?

A

He was working on creating tables for astronomy and based on the project on de Prony has wanted to divide the taks into small and simple tasks. De Prony’s idea was based on the economic ideas of Adam Smith. But even Adam Smith’s ideas were being replaced by machines. So Babbage decided to make tables through machines.

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

What was the name of Babbage’s machine?

A

Deference Engine

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

What was the difference between analytical engine and difference engine?

A

Analytical engine was capable to perform any mathematical operation. Something like todays computers. But difference engine was very limited.

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

Who was Herman Hollerith?

A

He was an engineer who recognized the need to use machines for census problem and created the Tabulating machine company. He also laid the foundations of IBM.

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

What was the idea of Herman Hollerith to solve the census problem?

A

Store data in punch cards and use machine to count them

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

De->De

Von wegen!

A

Auf keinen Fall!

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

De->Fa

Der Segen

A

نعمت / برکت

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

De->Fa

Der Kreißsaal

A

اتاق زایمان

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

De->De

beistehen

A

helfen, zur Seite stehen

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

De->Fa

Die Wehe

A

انقباضات رحمی

Zusammenziehung der Muskulatur der Gebärmutter bei der Geburt

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

De->De

Die Hebamme

A

staatlich geprüfte Geburtshelferin

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

De->De

dämmern

A

jemandem langsam klar werden, bewusst werden

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

De->De

strampeln

A

(mit dem Rad) fahren

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

RabbitMQ

Declaring a queue is idempotent. What does it mean?

A

it will only be created if it doesn’t exist already

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

Rabbit

What if a consumer dies? What will happen to the message?

A

Using acknowledgments the rabbit can see that consumer is dead and will assign the message to another consumer (using RoundRobin)

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

Rabbit

What will happen if rabbit itself fails? Do we loose queues and messages?

A

If we make it durable we will no loose anything.

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

iOS Programming

What do we mean when we say sending a message to an object?

A

It means calling a method of the object

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

iOS programming

What is the syntax for sending messages to objects?

A

[somePerson sayHello] calling the sayHello method of the object somePerson

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

In which year did Donald Knuth publish TeX 1.0?

A

1982

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

RabbitMQ

What is the publish/subscribe pattern?

A

All consumers, consume the same messages

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

RabbitMQ

What are exchanges?

A

They are very similar to queus. They receve the messages from producer and put them into the queues.

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

RabbitMQ

What is a fanout exchange?

A

It broadcasts all the messages to all the queues it knows

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

RabbitMQ

What is a direct exchange?

A

a message goes to the queues whose binding key exactly matches the routing key of the message.

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

RabbitMQ

What is a topic queue?

A

It is very similar to a direct exchange. With topic exchange multiple routing keys can be modelled. Like x.y.z They must be separated by dot.

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

Fa-De

سنگ کیسه صفرا

A

Der Gallenstein

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

De->De

Die Yacht

A

schnelles [Segel]schiff für Sport, Erholung, Kreuzfahrten u. Ä.

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

De->De

Der Hafen

A

بندر

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

De->De

ocker (adj)

A

gelbbraun

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

De->Fa

Der Klumpen

A

توده/غده/بر آمدگی

41
Q

Fa->De

کیسه صفرا

A

Gallenblase

42
Q

Git

how to add a local repository to a remote repository?

A

git remote add origin remote repository URL

43
Q

Git

How do I find the commit that caused problems?

A

find a good commit (you think everthing works here) and find a bad commit (the position that is not working).
git bisect start
git bisect good [hash]
git bisect bad [hash]
git makes a binary search and checks out the middle commit. It it was not the problem use git bisect good or if it was, use git bisect bad. Continue till u find the bad commit.
git bisect reset to checkout master

44
Q

De->De

Heu­schnup­fen, der

A

durch Überempfindlichkeit gegenüber Blütenstaub hervorgerufene allergische Erkrankung, die sich in heftigem Niesen sowie durch Jucken, Brennen und Tränen der Augen äußert

45
Q

De->De

ich kribb[e]le; es kribbelt mich; es kribbelt und krabbelt

A

von einem prickelnden Gefühl befallen sein, jucken

46
Q

De->Fa

Die Hasel

A

درخت فندوق

47
Q

De->Fa

Ha­sel­nuss, die

A

فندوق

48
Q

De->De

Pol­len, der

A

Blütenstaub

49
Q

angularjs

What is a directive ?

A

Is an extension of the HTML vocabulary which allow to create new and reusable behaviour

50
Q

angularjs

What is the ngApp directive?

A

We define the app usng this directive. Using we put it in html element.

51
Q

angularjs

What is the role of the ngController directive?

A

It attaches a controller to the view so that thex share the same scope

52
Q

angularjs

Is it necessary to use ngController directive when using the $route service?

A

No. It is not needed

53
Q

angularjs

What is the role of the ngBind directive?

A

Is usually applied to a span element and replaces it content with the specified scope variable. ALternative use {{scopeVariable}}…<h3></h3>

54
Q

angularjs

How to bind html content?

A

use ng-bind-html

55
Q

angularjs

What is the ng-repeat directive?

A

to iterate over an object. car in cars in the general syntax. variable in array

<span></span>

56
Q

angularjs

What is the role of the ng-model directive?

A

It attaches an element to a property in the scope

57
Q
angularjs
What is the role of ng-class directive?
A

is used every time you need to dynamically apply a class to an element by providing the name of the class in a data-binding expression

58
Q

angularjs

What is the role of ng-show directive?

A

changes the visibility of an element based on its
display property

<div>
</div>

59
Q

Whatis the difference between terminal and shell?

A

Terminal is the name of the application where you type your commands but shell is the name of the interpreter. Bash is an implementation of shell.

60
Q

Who were the authors of principia mathematica?

A

Bertrand Russell and Alfred Whitehead

61
Q

En->En

lynching

A

to put to death especially by hanging without legal authority

62
Q

What is the translation of deja vu from french?

A

already seen

63
Q

Which package should I use in Latex to avoid text overflow the margins?

A

\usepackage{microtype}

64
Q

What is the difference between a LinkedHashMap and a TreeMap?

A

A LinkedHashMap keeps the keys in the order they were inserted, while a TreeMap is kept sorted via a Comparator or the natural Comparable ordering of the elements.

65
Q

How to clear the current line in terminal from the position of the courser to the begin of the line?

A

Ctrl + u

66
Q

how to delete words backwards one by one using the terminal?

A

Ctrl +w

67
Q

What is a strongly connected graph?

A

A directed graph is said to be strongly connected if we can reach any vertex from every other vertex in the given graph.

68
Q

Is Redis a NoSQL data base?

A

yes

69
Q

How to store a key/value set in redis?

A

SET key value

70
Q

How to get the value of a key?

A

GET key

71
Q

how to delete a key with its associated value in redis?

A

DEL key

72
Q

How to increment the integer stored in a key in redis?

A

INCR key

73
Q

Why do we have a INCR command in redis? We could instead use:
x = GET count
x = x + 1
SET count x

A

This will work if we have only one client. INCR should be an atomic operation. So that if one client uses it, others are blocked.

74
Q

How to set a expire time for a key in redis?

A

EXPIRE key seconds

75
Q

How to get the time to live (TTL) of a key?

A

TTL key

76
Q

What does a value of -1 for TTL mean?

A

Key will never expire

77
Q

What does a value of -2 for TTL mean?

A

key does not exist anymore

78
Q

Redis

Can a key be also a list?

A

yes

79
Q

Redis

How to push an element to the left of a key which is a list?

A

LPUSH key element

80
Q

Redis

How to push an element to the right of a key which is a list?

A

RPUSH key element

81
Q

Redis

How to get elements of a list key in a specific range?

A

LRANGE key startIndex endIndex

82
Q

Redis

How to get the length of a key which is a list?

A

LLENGTH key

83
Q

Redis

How to remove the first element of a key which is a list?

A

LPOP key

84
Q

Redis

How to remove the last key of a key which is a list?

A

RPOP key

85
Q

Redis

Can a key also be a set?

A

yes

86
Q

Redis

How to add values to a key which is a set?

A

SADD key element

87
Q

Redis

How to remove an element from a set?

A

SREM key element

88
Q

Redis

How to test if an element is in the set or not?

A

SISMEMBER key element

returns 0 or 1

89
Q

Redis

How to get all memebers of a key set?

A

SMEMBERS key

90
Q

Redis

How to get the union of two sets?

A

SUNION key1 key2

91
Q

Redis

Do we also have sorted sets in redis?

A

yes!

92
Q

Redis

How to add values to a sorted set?

A

ZADD key score element

score is an integer to sort the set

93
Q

What is demand paging in operating systems?

A

A process is devided into several pages and is put on the disk and only required pages will be put into memory on demand.

94
Q

What are autoencoders in machine learning?

A

A neural network based unsupervised algorithm for dimensionality reduction. Like PCA

95
Q

Who is credited for coining the term “data science”?

A

Dj Patil

96
Q

Ruby

How to check if a number is even?

A

2.even?

returns true or false

97
Q

Ruby

How to get the consecutive number of a number x?

A

2.next

returns 2

98
Q

Ruby

How to see all the methods of an object?

A

1.methods

returns all the methods of object 1

99
Q

Ruby

How do we define regular expressions in ruby?

A

By putting it between a pair of regular slashes

‘RubyMonk’.gsub(/[aeiou]/,’1’)