Introduction to Computer Science Flashcards
What is data?
Data consis of raw numbers and symbols that can be arranged into meaningful information.
What is firmware?
Firmware describes the instructional software that computer chips have and remains the same over time. They are either used for booting up a computer or electronic devices that always perform the same task, such as your smart refrigerator or a child’s toy.
What is a file?
A discrete unit of data.
What is a pixel?
A single square which is assigned a color and is used to assemble a larger image.
What is the BIOS?
Basic Input/Output System. its functions are: identify hardware components attached to the machine, look for an OS, start the OS. The BIOS handles hardware requests from the operating system, applications, and drivers
What is Machine language?
a set of binary instructions that can be executed directly by a CPU
What is mainframe?
A large, powerful, centralized computer, a mainframe is what terminals connect to for processing requests.
What is ASCII?
This is a binary code scheme where letters, numbers, and symbols are represented by exactly one byte of data.
What is resolution?
The number of pixels able to be displayed, typically expressed as width x height (in pixels).
What is sampling?
This is the representation of analog data by taking samples of the wave values over small time intervals.
What is modem?
Portmanteau of modulator-demodulator. This is a device used to translate one type of signal to another.
What’s the number range able to be represented by a byte?
-128 to 127 (8 bits)
What is the difference between the MDR and the
CIR?
The MDR is responsible for temporarily storing data being read from or written to the memory. CIR holds the current instruction being executed.
Why is propositional logic relevant for computer
science?
Propositional logic forms the basis for circuit design and for the implementation of algorithms in software. In circuit design the logical gates implements the concepts of propositional logic and in the programming languages conditional statements and loop constructs are based on evaluating logical expressions using propositional logic.
What is propositional logic?
Propositional logic deals with the study of propositions and their logical relationships. Logical connectives like negation, conjunction, disjunction are provided to connect propositions.
XML
Extensible Markup Language
What is an IRQ?
An IRQ stands for “Interrupt Request”. A device can send status messages to the CPU by in interrupt request line, labeled from 00 to 15. The CPU interrupts its tasks an executes a corresponding
interrupt handler to perform the necessary acƟons. Each device in a computer system is assigned a unique IRQ number. The CPU uses this number to identify the source of the interrupt and determine the appropriate interrupt handler to execute.
Name a few sorting algorithms.
Bubble sort, quicksort, merge sort, binary insertion sort.
What is a checksum?
A checksum is a small-sized block of data derived from another block of digital data for the purpose of detecting errors that may have been introduced during its transmission or storage.
What is the difference between a bit, a byte and
an octet?
1 byte = 1 octet = 8 bits
How it can be determined in the decimal to binary
conversion if the corresponding digit in binary
representaƟon is a 1 or a 0.
In decimal to binary conversion, you divide the decimal number by 2 repeatedly
while recording the remainders. The remainders will determine if the corresponding
digit in the binary representaƟon is 1 or 0. Lets consider the following example: We
have the decimal number 6. We convert this number to binary as follows: 6/2 = 3
remainder 0 3/2 = 1 remainder 1 1/2 = 0 remainder 1 The binary representaƟon of
the decimal number 6 is: 110 (remainder in reverse order).
What is the default gateway?
The default gateway is the router or device that allows the computer to access other
devices outside of its local network.
What is the parity error-checking?
Communication with telephone-based modems was one bit at a time. For every 7 bits, an 8th parity bit was added for error checking. These basically worked like a very simple checksum. For every 8 bits there must be an even or odd number of ones in the data. If it did not match, then it was assumed there was an error.
What is CRC?
Cyclic Redundancy Check. A block of data is processed through a mathematical algorithm and a result is appended to the data. After the data is sent, a calculation is repeated to check the integrity. The CRC can be applied to any length of binary data and will always return a code of the exact same length. This makes CRC a
“hashing” algorithm