Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Files are not the only way to organize and store information. Databases are a co

ID: 3819307 • Letter: F

Question

Files are not the only way to organize and store information. Databases are a common alternative.

Question 3 options:

Save

Streams are sequences of bytes without separate metadata and without a specific sequence length.

Question 4 options:

Save

Executable computer programs are composed of data (information) and instructions/code (also information) understood by computer hardware.

Question 5 options:

Save

A machine instruction tells computer hardware to perform some simple operation on some data and therefore cannot be stored in memory.

Question 6 options:

Save

Hardware reads an instruction from memory, performs the specified operation on the specified data, and then reads another instruction from memory. Instructions are always read from consecutive memory locations.

Question 7 options:

Save

The Von Neumann hardware architecture consists in part of a Processing Unit [often called Central Processing Unit (CPU)] containing
an Arithmetic Logic Unit (ALU), processor registers including a Program Counter and a Control Unit and a memory to store both data and instructions.

Question 8 options:

Save

Instructions are numbers that are decoded by a processor.

Question 9 options:

Save

Assembly Language is human readable text that typically has a 1::1 correspondence with machine code.

Question 10 options:

Save

Programs are typically loaded from files in persistent memory into slower volatile memory prior to execution by hardware.

Question 11 options:

Save

Applications use services/features provided by operating systems and exposed through Application Programming Interfaces (APIs).

Question 12 options:

An operating system context switch is an operation that pauses execution of a thread of instructions in order to begin execution of a different thread of instructions. The frequency of context switches between applications and the operating system impacts aggregate system performance in ways interrupts do not.

Question 13 options:

Save

A "thread" is a sequence of instructions to be executed by a processor.

Question 14 options:

Save

BIOS and EFI are not examples of firmware.

Question 15 options:

Save

A process is a running (or ready to run if conditions are met) instance of a computer program.

Question 16 options:

Save

A process is an operating system data structure that stores information about a running program.

Question 17 options:

Save

In most modern operating systems, processes are subdivided into one or more “threads” of execution. Computers with more than one processor or processor “cores” can execute more than one thread at a time.

Question 18 options:

Save

Processes store information about security and permissions.

Question 19 options:

Save

Operating systems can halt processes and resume them later.

Question 20 options:

Save

OS Definition by Functionality

From Silbershatz: typical functionality includes


(i) To provide an environment for a computer user to execute programs on computer hardware in a convenient and efficient manner.


(ii) To allocate the separate resources of the computer as needed to solve the problem given. The allocation process should be as fair and efficient as possible.


(iii) As a control program it serves two major functions: (a) supervision of the execution of user programs to prevent errors and improper use of the computer, and (b) management of the operation and control of I/O devices."

Question 21 options:

Save

OS as a Collection of Components -
All the instructions/code that constitutes an operating system can be organized into the following components:
OS = VM + FileM + ProcM + Net + IO + UserM + (Boot) + [SysPrg]
The components can also be combined and then re-divided into a kernel + initial ram disk components + drivers + interrupt handlers.

Question 22 options:

Save

OS as a Collection of System Calls -
Linux and Windows have around 350 system calls each. From a programmers perspective, an operating system can be defined by its supported system calls.

Question 23 options:

Save

A "shell" in computing is an interface between the user and the operating system. Shells provide a way for users to select and execute other programs: A Shell is a program used to start other programs. The term “shell” usually refers to a Command-Line Interface (CLI), but Graphical User Interface (GUI) based shells are common. The Windows Desktop and Start button comprise a shell.

Question 24 options:

Save

Many Unix shells exist to meet different needs and personal preferences.

Question 25 options:

Save

An interpreter is a program that reads and executes other programs.

Question 26 options:

Save

Computer hardware only executes its own native machine instructions Humans find it tedious, error prone, and unproductive to write machine instructions directly (but we can). High level programming languages exist to simplify programming. High level programming languages must be converted into native machine instruction to execute.

Question 27 options:

A compiler translates high level language inputs into machine instructions and typically stores the machine instructions in a file for later execution.

Question 28 options:

Save

An interpreter translates high level language inputs into machine instructions and typically executes them immediately.

Question 29 options:

Save

Unix shells are interpreters.

Question 30 options:

Save

Various Unix shells interpret slightly different languages.

Question 31 options:

Save

Most shell scripting languages enable programmers to write loops.

Question 32 options:

Save

Java is a hybrid of Compiler and Interpreter. Java compiles high level language statements into standard “byte code”. Byte codes are like machine instructions for a “virtual machine” – virtual means not real.
The Java Virtual Machine (JVM) translates byte codes into native machine code “on the fly” “just in time” and then executes the native machine code. Just in Time (JIT) compiling produces faster program execution than traditional interpretation in many cases.

Question 33 options:

Save

The Unix philosophy, originated by Ken Thompson, is a set of cultural norms and philosophical approaches to minimalist, modular software development. Unix programs have always been expected to follow the concept of DOTADIW, or "Do One Thing and Do It Well."

Question 34 options:

Save

A File System defines how information is stored and retrieved. Filesystems separate collections of related information into "files".

Question 35 options:

Save

File systems manage access to both the content of files (data) and information about files (metadata).

Question 36 options:

Save

File systems arrange storage space. Reliability, efficiency, and physical storage medium limitations influence file system design.

Question 37 options:

Save

There are many different kinds of file systems. Each has a different structure and logic with different properties of speed, flexibility, security, size, fragmentation and more. For example the ISO 9660 file system is designed specifically for magnetic tape.

Question 38 options:

Save

File systems can be used on many different kinds of storage devices. Some examples include spinning magnetic media, spinning optical media, magnetic tape, paper tape, film, volatile memory, and Network Attached Storage (NAS).

Question 39 options:

Save

File systems can operate over networks with file storage connected to computers at different locations than the computer accessing the data in files. Examples include Network File System (NFS) - developed by Sun Microsystems in 1984, Server Message Block (SMB) – a.k.a. Common Internet File System (CIFS) developed by IBM and Microsoft 1990-1992.

Save

File systems organize bytes. Bytes can be stored in files. It is therefore impossible to implement an entire file system within a single file stored by a different file system.

Question 41 options:

A RAM disk/drive is a block of RAM (Random Access Memory - volatile memory) containing data organized by a file system. One upon a time, this approach improved performance for temporary file system operations such as creating intermediate files while compiling. Modern virtual memory systems do a better job. A RAM disk in a modern system is usually a pointless extra layer of protocols above virtual memory.

Question 42 options:

True False

Explanation / Answer

3.yes we can store and organize the data in database because it has additional features like data integrity, security, consistancy, controlling redundancy.

5. Yes. Executable code also have machine instruction and data same as source code. Executable code are machine codes means which is used to tells to computer what to do

6. False. Machine insteuctions are stored in memory which tells computer hardware to perform operation on some data

7. False. In order to read instructions from memory locations of memory are not consecutive.memory locations are depends on the sequence of instructions of program executed by processor. If program is executed sequentially then consecutive memory locations are required for reading instructions

8. Yes von neuman architecture contains ALU, CONTROL UNIT, MEMORY UNIT

9. False. Instruction is an operation used to instruct processor what to perform what does not perform

10. False. Assembly language is lowlevel which

.contains mnemonics. Mnemonics are operations used to instruct processor

12. Yes application uses features provided by os exposed through API

14.THREAD is a lighy wieght process

15. Yes BIOS AND EFI firmare

16. Yes process is a progam which is ready to run if conditation is met

18. Yes, process are divided into threads. Computer with more than one thread is multhreading

28.yes compiler is used translate high level to machine level language

29.yes. intrerpeter translate high level language to machine language but it executes instructions of a program line by line

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote