UNCW CSC 131 Test 1 – Study Guide, Practice Questions & Exam Review
How do you convert Decimal to Binary? - ANS ✔✔1. If value ODD = 1, if else = 0
2. Divide by 2
3. Repeat until OG value is 0
4. Read the digits from bottom to top for your answer
How do you convert Binary to Decimal? - ANS ✔✔1. Right the binary #
2. From right to left, write 2^# of each digit, starting with the power of 0
3. Multiply the digits by the binary number above it
4. Add the answers together
What is Computer Science? - ANS ✔✔The science and study of using computers to solve
problems more efficiently
What is computer programming? - ANS ✔✔Describing an algorithm that allows the computer to
carry out the steps
What is an algorithim? - ANS ✔✔Finite # of doable steps to accomplish a goal
What are inputs and outputs? - ANS ✔✔Data used for an algorithm and its results
What is hardware and what is software? - ANS ✔✔Hardware are the physical devices used in or
with a machine. Software are the programs and collection of codes installed onto the computer.
Name 3 input devices? - ANS ✔✔- Microphone
- Webcam
, - Mouse
Name 3 output devices? - ANS ✔✔- Printer
- Monitor
- Speaker
Name 3 storage devices? - ANS ✔✔- HDD
- Flashdrive
- Cloud
What does volatile mean with respect to storage? - ANS ✔✔Volatile memory loses its data
without power (RAM), whereas non-volatile memory maintains its data without power (HDD).
What is the language used by a computer? - ANS ✔✔Binary, represented through electric
switches that represent values on/off (1,0)
What is a compiler? - ANS ✔✔Translates all lines of code at once
What is an interpreter? - ANS ✔✔Translates code line by line
What is syntax? - ANS ✔✔The rules that control the structure of the symbols, punctuation, and
words of a programming language/IDE
What is semantics? - ANS ✔✔Meaning of language constructs (/ means divison, // means
truncating divison)
What is an IDE? - ANS ✔✔Integrated Development Environment Software
How do you convert Decimal to Binary? - ANS ✔✔1. If value ODD = 1, if else = 0
2. Divide by 2
3. Repeat until OG value is 0
4. Read the digits from bottom to top for your answer
How do you convert Binary to Decimal? - ANS ✔✔1. Right the binary #
2. From right to left, write 2^# of each digit, starting with the power of 0
3. Multiply the digits by the binary number above it
4. Add the answers together
What is Computer Science? - ANS ✔✔The science and study of using computers to solve
problems more efficiently
What is computer programming? - ANS ✔✔Describing an algorithm that allows the computer to
carry out the steps
What is an algorithim? - ANS ✔✔Finite # of doable steps to accomplish a goal
What are inputs and outputs? - ANS ✔✔Data used for an algorithm and its results
What is hardware and what is software? - ANS ✔✔Hardware are the physical devices used in or
with a machine. Software are the programs and collection of codes installed onto the computer.
Name 3 input devices? - ANS ✔✔- Microphone
- Webcam
, - Mouse
Name 3 output devices? - ANS ✔✔- Printer
- Monitor
- Speaker
Name 3 storage devices? - ANS ✔✔- HDD
- Flashdrive
- Cloud
What does volatile mean with respect to storage? - ANS ✔✔Volatile memory loses its data
without power (RAM), whereas non-volatile memory maintains its data without power (HDD).
What is the language used by a computer? - ANS ✔✔Binary, represented through electric
switches that represent values on/off (1,0)
What is a compiler? - ANS ✔✔Translates all lines of code at once
What is an interpreter? - ANS ✔✔Translates code line by line
What is syntax? - ANS ✔✔The rules that control the structure of the symbols, punctuation, and
words of a programming language/IDE
What is semantics? - ANS ✔✔Meaning of language constructs (/ means divison, // means
truncating divison)
What is an IDE? - ANS ✔✔Integrated Development Environment Software