Sunday, September 11, 2011

Welcome to CS12, Sunday!

qccs012.blogspot.com

Joshua Waxman
joshwaxman@gmail.com

* Lecture -- concepts of computers
* Lab -- hands on skills, microsoft office

Lecture:
New Perspectives on Computer Concepts, 10th Edition, Comprehensive (New Perspectives Series)

Lab:
Big diff bet Office 2003 and Office 2007
Exploring Microsoft Office 2007 Vol. 1 (3rd Edition) (Spiral-bound)

I-building, help desk

* three lab exams (word - 10%, excel - 25%, access - 25%)
* powerpoint project - 5%
* lecture exam - 10%
* hw - 10%
* web project - 10%
* quizzes - 10%

What do you need to do the lab exercises and lab homeworks?
* data - from prentice hall's website
* programs - Microsoft Ultimate Steal (Professional Academic Edition)

1 point = 1/72"

input
output
memory (RAM)
math ability
control

CPU - central processing unit. contains:
*ALU - arithmetic / logic unit
*control unit

von Neumann architecture

instead of specialized machines
universal computer, general purpose computer

hardware -- physical components
software -- instructions, computer programs

fetch-execute cycle

computer program: a bunch of instructions

1. Say: Please enter a #
2. Get a number, store it in X
3. Say: Please enter another #
4. Get a number, store it in Y
5. Add X and Y, store it in Z
6. Say: X + Y = Z
7. Go to step 1

IP: instruction pointer (within the control unit)

Artificial Intelligence
Alan Turing - Turing test


Don't need to get this, but C++ Express Edition

In C++
// calculator1.cpp : Defines the entry point for the console application.
//

#include "stdafx.h"
#include <iostream>
using namespace std;

int main()
{
    int x, y, z;
beginning:
    cout << "Please enter a #: ";
    cin >> x;
    cout << "Please enter another #: ";
    cin >> y;
    z = x + y;
    cout << x << " + " << y << " = " << z << endl;
    goto beginning;
    return 0;
}


A computer only understands machine language
01000010001
annoying

assembly language
MOV AX, 4
MOV BX, 6
ADD AX, BX
SAY AX

there will be a computer program which takes an assembly language program as input, will spit out the machine language program as output

assembler
disassembler
still annoying

programming languages:
Visual Basic, C++, Java, Javascript, Python, Prolog, Lisp

we need to translate it

Visual basic:
For I = 1 to 10
    Msgbox "Hello there!"
Next

translators:
* compiler
* interpreter

interpreted is slower
you get to send the original plaintext instructions for an interpreted languages

C++ compiled language
Javascript interpreted languages

how do I make a 9 page paper into a 10 page
paper?
* line spacing (multiple and exactly)
* adjust the margins
* increase size of period
* add footnotes and images
* add meaningful text
* font face. fixed width, proportional width
* letter spacing
* widow and orphan protection

i


30 comments:

  1. Christopher Lardaro

    ReplyDelete
  2. Raynelly De La Cruz

    ReplyDelete
  3. I was in class today, Sunday September 11, 2011.

    Aisha Qayum

    ReplyDelete
  4. Jose Pichardo was here

    ReplyDelete
  5. Jan-Michael Alexander: Enjoying today's class

    ReplyDelete
  6. Hi Devika Rameprsaud was here!

    ReplyDelete
  7. #Ruby magic!
    fib = Hash.new {|h,k| h[k]=k<2?k:h[k-1]+h[k-2]}

    -Syed Reza

    ReplyDelete
  8. Yin Cheng was in class today.

    ReplyDelete
  9. Dr. Waxman, please contact the bookstore to inform them that you have decided to change the books, it is the only way the people who purchased the books can receive their money back. Thank you very much.

    ReplyDelete
  10. Thank you Dr. Waxman. I appreciate it. I tried to email you on your gmail account but think I had the wrong address.

    ReplyDelete
  11. I'm on it.
    You can see Joey in the bookstore, and bring your receipt.

    --josh

    ReplyDelete
  12. Muneer Karim was here on 9/11

    ReplyDelete
  13. elhadji mbow
    was here on 9/11

    ReplyDelete
  14. elhadji mbow
    was here on 9/18

    ReplyDelete