Samba Server Setup Tutorial
Alex Yang
Northwestern Polytechnic University
Fremont CA
Copyright 2015, All Rights Reserved
Step 1
Set up bridged network configuration and then start VM
Step 2
Install samba server in VM
Change to root directory first by [xxx

Network Configuration Tutorial
Alex Yang
Northwestern Polytechnic University
Fremont CA
Copyright 2015, All Rights Reserved
Part I NAT(Network Address Translation) Configuration
1. Set up Virtural Machine to NAT network configuration
2. Start VM and check

CS200 Week 7
Fall 2011
Tasks
Midterm review
What will be covered
Practice problems
C Programming to solve discrete logic
problems
Midterm Review
Chapter1 The Foundations: Logic and Proofs
Propositional Logic
Proposition definition
Logical Operators

CS200
Discrete Logic
Week 1 - 1
Fall 2012
Discrete
Discrete
the opposite of continuous
something that is separate; distinct; individual.
http:/en.wikipedia.org/wiki/Discrete
http:/www.fao.org/docrep/009/a
0238e/A0238E02.htm
Logic
a particular method o

Chapter 2 Basic Structures
2.1 Sets
2,2 Set operations
2.3 Functions
2.4 Sequences and summations
2.1 Sets
Sets
A set is an unordered collection of
objects.
The set is the fundamental discrete
structure on which all other discrete
structures are built.

Chapter 9 Relations
Fall 2012
Relations
Structure in discrete mathematics
Represent the relationship between elements of
sets
A subset of the Cartesian product of the sets
A=cfw_1,2
B=cfw_1,2,3
R1=cfw_(1,1),(2,2), R2=cfw_(1,1),(1,2),(1,3)
Solve proble

Chapter 12 Boolean Algebra
Fall 2012
Boolean Algebra
Boolean algebra provides the operations and
the rules for working with the set cfw_0, 1.
Boolean algebra just generalizes the rules of
propositional logic to sets other than cfw_T,F.
e.g., to the set

Chapter 10 Graphs
Fall 2012
What are Graphs?
Discrete structures that consists of vertices and
edges connecting these vertices.
Not the chart or plot
with coordinate system
But like this
Applications of Graphs
Graphs can be used to model and solve the
pr

Mathematical Reasoning
(1.6,1.7)
Chapter 5 Induction and
Recursion (5.1 5.4)
CS200 Fall 2012
Mathematical Reasoning
Reasoning
Lead us from Hypothesis (premises) to conclusion
Mathematic reasoning
Reasoning in mathematics
Apply mathematical rules to m

Chapter 13
Modeling Computation
Fall 2012
Modeling Computation
Models
Created and used to study how the tasks are carried out by
computation to solve problems
e.g. How the computation of adding two binary numbers are
carried out
Three structures
Gram

Chapter 13
Modeling Computation
Fall 2012
Modeling Computation
Models
Created and used to study how the tasks are carried out by
computation to solve problems
e.g. How the computation of adding two binary numbers are
carried out
Three structures
Gram

Chapter 3 Algorithms
Chapter 4 Number Theory and
Cryptography
CS200
Fall 2012
3.1 Algorithms
Algorithms
An algorithm is a finite sequence of precise
instructions for performing a computation or for
solving a problem.
There are several properties that al

HOME WORK 2
ID : 12900
select e.LastName employee,e.MGR MANAGER from Emp_Test e,Emp_Test m where
e.Emp_id=m.mgr_id;
select e.LastName employee,e.MGR MANAGER from Emp_Test e,Emp_Test1 m where
e.Emp_Id=m.Mgr_Id(+);

HOME WORK 4
ID : 12900
1) Difference between function and procedure?
a). Functions can be used in typical SQL statements
like SELECT, INSERT, UPDATE, DELETE, MERGE, while procedures can't.
b) Functions are normally used for computations where as procedure

This document specifies on how to install 10.2.0.4 patchset on top of 10.2.0.1
binaries and upgrading database from 10.2.0.1 to 10.2.0.4
Below are the server and database specifications I used
OS : Oracle Enterprise Linux 4.7
Database : Oracle 10.2.0.1
ST

CentOS Installation on
Virtual Machine Tutorial
Alex Yang
Northwestern Polytechnic University
Fremont CA
Copyright 2015, All Rights Reserved
Part I Virtualbox Installation
1. Download open source virtual machine Virtualbox from the following link:
https:/

Mount a Drive on CentOS Linux
YUGENG CHANG
Northwestern Polytechnic University
Fremont CA
This brief tutorial shows you how to mount, and un-mount media such as a Flash drive, CD/DVD,
Hard drive, or pretty much any other local mountable media
Make sure Vi

Java Text Files and Binary Files
Directories and Files
The java.io package was commonly used before Java SE 7 to perform basic operations on
directories and les.
The Java SE 7 introduced a java.nio le package that provides an improved way to access the

CS480F Quiz2 Summer 2015
Problem Description
Implement the following classes according to the class diagrams. And you do not need to
implement set and get functions unless otherwise specied.
You are required to dene function parameters for the Course's c

The Layout Manager
Swing Components
Component is the more correct term for what we've been calling a widget. The things you put in
a GUI. The things a user sees and interacts with. Text elds, buttons, scrollable lists, radio
buttons, etc. are all compone

CS453 Lecture 1 Introduction to Compiling
Compilers
Analysis of the source program
The phase of a compiler
Cousins of the compiler
The grouping of phases
Compiler-construction tools
CS453 Lecture 1
1
1.1 Compilers
A compiler is a program that reads a prog

CS453 Lecture 2 A Simple One-Pass Compiler
Overview
Syntax definition
Syntax-directed translation
Parsing
A translator for simple expressions
Lexical analysis
Incorporating a symbol table
Abstract stack machines
Putting the techniques together
CS453 Lectu

CS453 Lecture 3 Lexical Analysis
The role of the lexical analyzer
Input buffering
Specification of tokens
Recognition of tokens
Finite automata
Nondeterministic finite automata
Deterministic finite automata
Conversion of an NFA into a DFA
CS453 Lecture 3

CS453 Lecture 6 Syntax Analysis
FIRST and FOLLOW
LL(1) Grammars
Bottom-Up Parsing
Stack Implementation of Shift-Reduce Parsing
Operator-Precedence Parsing
Error Recovery in Operator-Precedence Parsing
CS453 Lecture 6
1
6.1 FIRST and FOLLOW
FIRST and FOLLO

CS453 Lecture Four Regular Expression and Automata
From a regular expression to an NFA
Time-Space Tradeoffs
Design of A Lexical Analyzer Generator
Optimization of DFA-Based Pattern Matchers
Decision Problems
Other Applications of Automata
CS453 Lecture 4

CS453 Lecture 5 Syntax Analysis
Introduction to Context Free Grammar
The role of the parser
Context Free Grammars
Parser Trees and Derivations
Writing a grammar
Non-Context Free Grammar
Top-Down Parsing
Transition Diagrams
CS453 Lecture 5
1
CS453 Lec5 Syn

CS453 Lecture 7 Syntax Analysis
LR Parser
LR Grammar
SLR Grammar
SALR Grammar
LALR Grammar
Parser Generator
CS453 Lecture 7
1
7.1 LR Parsers
LR Parser
Bottom-up syntax analysis can be used to parse a large class of context-free grammar. The
technique is c

CS453 Lecture 8 Syntax-Directed Translation
Syntax-Directed Definitions
Construction of Syntax Trees
Bottom up Evaluation of S-Attributed Definitions
L-Attributed Definitions
Top-Down Translations
Bottom-up Evaluation of Inherited Attributes
Implementing

Introduction to Makefile
Alex Yang
Northwestern Polytechnic University
Fremont CA
Copyright 2015, All Rights Reserved
1. Compilation in command line
Program1:
a.cpp - a.h(included)
|- f();
#include <stdio.h>
#include "a.h"
void f()
cfw_
a+;
printf("0\n",a

Data Modeling and
Implementation Techniques
Course ID
: CS 457
Professor Name : Dr. Kenny Teng
Email
: kenny.teng@mail.npu.edu
Email Rule
1. My email Address is kenny.teng@mail.npu.edu, no matter which
email account that I reply to you, please always send

01) Briefly describe what are GROUP BY with ROLLUP and CUBE Operators? (5
Points)
02) Briefly describe what is GROUPING SETS? (5 Points)
03) Briefly describe what are composite columns? (5 Points)
04) Briefly describe what is a concatenated grouping funct