Question: Exercise 1 Goal:play a bit with some tasks for computer scientists. Find out what you know, and get a feeling for thinking like a computer

 Exercise 1 Goal:play a bit with some tasks for computer scientists.

Find out what you know, and get a feeling for "thinking like

a computer scientist. Task 1. Logic A logician drives into a drive-in

Exercise 1 Goal:play a bit with some tasks for computer scientists. Find out what you know, and get a feeling for "thinking like a computer scientist. Task 1. Logic A logician drives into a drive-in restaurant and orders: "Please a hamburger or a hot dog and chips. Which of the following answers are valid interpretations of the order in the sense of logic. a) Only a hamburger b) Only a hot dog c) Only french fries/chips d) A hot dog and chips e) A hamburger and chips 1) A hot dog and a hamburger g) All three (supersize me) h) Nothing (the logician stays hungry) Task 2. Algorithm / Programming Describe a control for the motor of an electric garage door using the techniques you know from school or somewhere else (see figure 1). a) This could be done in a textual way if the Button ... is pressed and the garage door opens ENE b) Do you know a programming language or Boolean algebra? Then try it out in this more formal way and describe a function for the motor M (or in more detail for Mup and Mdoun)! c) Why do we need programming languages? M Drigh Dup D down Dlow and Daown Legend: Operating elements: Buttons Dup Limit switch: Dnigh and Dlow Safe door area: Light barrier L Figure 1: Garage door example Task 3. Representation of Information a) How is the number 12 represented in a PC? b) Can you generalize the approach of representing decimal numbers on a pc? Task 4. Management of programs On your / a PC many hundred programs can run in "parallel", but typically a PC has only one memory and one / a view (maybe 8) cores. How can this work? a

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!