Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

image text in transcribed

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Put Your Data To Work 52 Tips And Techniques For Effectively Managing Your Database

Authors: Wes Trochlil

1st Edition

0880343079, 978-0880343077

More Books

Students also viewed these Databases questions

Question

How do Excel Pivot Tables handle data from non OLAP databases?

Answered: 1 week ago