Professional Documents
Culture Documents
Division of points:
12 12 12
Question 1 2 3 4 5 6 7 8 9 10 11 A B C Total
Max. points 10 5 6 5 7 7 10 5 5+5 6 15 6 4 4 100
Enables a
user to
Applications ‘interact’
with
computer
Controls
Operating the
system hardware
The
Hardware machine
1
FIS1 - Oct 2016
QUESTION 2 (5 points)
Write down the common memory/storage types from slow to fast:
Hard Disk
Solid State Disk;
RAM;
CPU Cache;
QUESTION 3 (6 points)
Out of 3 main paradigms, write down which paradigms are supported by C# language
QUESTION 4 (5 points)
Which of the following is true about modern multicore processors?
A. OS always uses same cores for same processes
B. OS does not use different processes in a core
C. None of the above
D. OS splits processes between cores
QUESTION 5 (7 points)
Fill in the memory type and medium on the corresponding sections, in the following model of a
computer system.
CPU
Level 1
cache
Level 2
cache
System RAM
Hard disk
2
FIS1 - Oct 2016
QUESTION 6 (7 points)
What is responsible for managing hardware & applications. What other tasks does this software
collection have? (Give at least two examples)
Alt: An operating system (OS) is a collection of system software that controls the hardware and
functions as a layer between applications and hardware.
The OS for example handles the memory (memory management), running multiple
applications (process management), who can access which hardware (resource
management), etc.
If code is JIT compiled the executable contains an intermediate language. This language still
needs to be translated to machine code which is done when the JIT executable is run.
The translation of the intermediate language to machine code is done by a virtual machine
Interpreted runs the source code and converts this on-the-fly (runtime) line by line into
machine code and executes this. An application is the source code itself.
QUESTION 8 (5 points)
Which of the following features are supported by VisualStudio (ie. VS2015, VS2017) when
programming in C#?
A. Source code editor and code completion
B. Build automation tools
C. Debugger
D. All of the above
3
FIS1 - Oct 2016
QUESTION 10 (6 points)
Describe characteristics of low level programming languages. Which language is mostly used for
low level programming?
Low level languages are close to the hardware, it manipulates hardware directly (lacks
abstraction usually found in high level languages). It tends to be
difficult to master compared to high level languages.
When it comes to embedded programming, it’s usually done using C programming language.
10101010 170 AA
00100000 32 20
1110111 119 77
01111111 127 7F
10101100 172 AC
4
FIS1 - Oct 2016
A. Perform the following calculations and write down the results, include all carry-signs:
11111 111 1
10100010 11100010
00111110 01111010
+=========== +===========
11100000 101011100
Taking into account that the result has to fit in one byte, answer the following questions:
B. Is the first result correct when interpreted as a signed binary number (2-complement),
include an explanation/calculation?
C. Is the second result correct when interpreted as an unsigned binary number (not 2-
complement), include an explanation/calculation?