COMP 202 Lecture Notes - Lecture 1: Binary Number, Ikea, The Algorithm

51 views4 pages
jc123 and 40170 others unlocked
COMP 202 Full Course Notes
100
COMP 202 Full Course Notes
Verified Note
100 documents

Document Summary

Comp 202 - lecture 1 introduction & binary numbers. How to think like a computer scientist. Learn how a computer thinks. Have fun and pass the course! Week 1- 7: fundamentals of programming. Week 8- 10: intro to object oriented programming (java) Computer scientists model and analyze problems, design solutions and verify solutions. Computer science is the science of algorithms. An algorithm is simply a sequence of steps that tells you how to solve a problem. Converting between decimal and binary. Day to day, we use base 10 (decimal) when we refer to numbers. However a computer is a series of wires, that either have current flowing through them, or do not. An easier way to think of it: light switches that are on or off. So: computers talk in base 2 (binary), and our languages to code them need to be written as such. Binary only contains 2 numbers:

Get access

Grade+
$40 USD/m
Billed monthly
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
10 Verified Answers
Class+
$30 USD/m
Billed monthly
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
7 Verified Answers

Related Documents