Unit 0
information science
studying how algorithms can solve or analyze problems
computer is a tool
CS is NOT programming and programming is not CS
computer scientist analyze data, look for patterns, develop algorithms (solutions), collaborate with other scientist, and write programs
In this course:
Introduction
Programming: give foundational knowledge of how to use C++ to do procedural and object orient programming
high level: solve a problem (algorithm) ← this is CS; tell a computer how to do it ← this is programming (in this course we often do both)
what we actually do to PROGRAM:
by the end of the course given an appropriate problem statement:
Course topics:
labs:
demonstrate the work to TA or CP through queueing system to "check-off" — can be any TA/CP office hours during the week
assignment:
exams:
office hours:
Syllabus, course materials, schedule, important links: https://bytes.usc.edu/cs103/syllabus/
PIAZZA:
CODIO:
textbooks: to get practice
programming language has: represent data and steps in a human readable form & a way to turn that into binary numbers (usually a compiler or interpreter)
not sharing code
Computer model
In C++, '(单引号) store only one character
#include <iostream>
using namespace std;
int main(int argc, char* argv[])
{
}