Filter By
Filter Reset
Semester
Class Notes (1,030,981)
US (404,560)
CSULB (996)
CECS (31)

Class Notes for Computer Engineering and Computer Science at California State University - Long Beach

CECS 174 Lecture Notes - Lecture 10: Substring, Clam Chowder
Premium

...2018CECS 174LecturesJavaEclipseArrayssrcArrays.java 1 1 2 public class Arrays { 3 4 public static void main(String[] args) { 5 * 6 * Java has a concept that Python does not called arrays. Pythons 7 * lists are the close...

Computer Engineering and Computer Science
CECS 174
Neal Terrell
CECS 174 Lecture 9: Intro to Java
Premium

...S 174LecturesJavaEclipseIntroductionssrcBasicIO.java 1 1 Java line comments start with a . 2 3 Well get back to this later. 4 import java.util.Scanner; 5 6 7 Java block comments start with a *, and include ALL TEXT up t...

Computer Engineering and Computer Science
CECS 174
Neal Terrell
CECS 174 Lecture Notes - Lecture 8: Anthony Giacalone, Mike Trout, Yasiel Puig

...ECS 174LecturesPython10 - Dictionariesdictionaries.py 1 1 A dictionary is a data structure -- a way of organizing many values into 2 one variable. A list is another type of data structure. Data structures 3 typically...

Computer Engineering and Computer Science
CECS 174
Neal Terrell
CECS 174 Lecture Notes - Lecture 7: Alphabet Inc., Ab3, Sega

C:CSULBFall 2018CECS 174LecturesPython8 - Tuplestuples.py 1 1 A tuple is an ordered grouping of data values under one name. Sounds a lot 2 like a list, right? Except that tuples are immutable -- once made, they cant 3 b...

Computer Engineering and Computer Science
CECS 174
Neal Terrell
CECS 174 Lecture Notes - Lecture 6: 5,6,7,8, Valar Dohaeris, Valar Morghulis

...Fall 2018CECS 174LecturesPython6 - Listsmutating.py 1 1 Lists are mutable -- they can be mutated, or changed, both by 2 changing individual indices, or by adding or removing values. 3 4 faculty = [Bo, Frank, Alvaro, B...

Computer Engineering and Computer Science
CECS 174
Neal Terrell
CECS 174 Lecture 5: Strings

...Fall 2018CECS 174LecturesPython5 - Stringsstrings.py 1 1 (Re)introducing strings 2 3 name = neal 4 A string is a sequence of characters of some length. 5 A sequence is a bunch of individual things in a row, 6 ordere...

Computer Engineering and Computer Science
CECS 174
Neal Terrell
CECS 174 Lecture 4: Functions

... 2018CECS 174LecturesPython4 - Functionsfunctions.py 1 1 A function is a piece of code with three things: 2 1. A name; 3 2. A list of parameters; 4 3. A return value (optional) computed based on the parameters. 5 6 ...

Computer Engineering and Computer Science
CECS 174
Neal Terrell
CECS 174 Lecture Notes - Lecture 3: Dime (United States Coin)

...ll 2018CECS 174LecturesPython3 - Loopswhile_loops.py 1 1 Demonstrate a while loop. 2 3 We commonly want to REPEAT some statements in our programs. A loop is a 4 construct that lets us specify a section of code to rep...

Computer Engineering and Computer Science
CECS 174
Neal Terrell
CECS 174 Lecture Notes - Lecture 2: Quadratic Equation

...018CECS 174LecturesPython2 - Conditionsconditions.py 1 1 Demonstrates if-else conditions by calculating a grade in a course. 2 3 course_points = float(input(How many points did you earn in the class? )) 4 max_points = ...

Computer Engineering and Computer Science
CECS 174
Neal Terrell
CECS 174 Lecture Notes - Lecture 1: Quadratic Equation

... 2018CECS 174LecturesPython1 - Introductionshello.py 1 1 The entry point for a Python program is the first line of the file. 2 Each line is read and executed by the computer, one at a time. 3 4 Anything that follows ...

Computer Engineering and Computer Science
CECS 174
Neal Terrell
CECS 174 Lecture 25: Inputs/Outputs Part 2
Premium

Input/Output  To read input from a disk file, the scanner class relies on another class File  To construct a File object: File inputFile = new File(“input.txt”); (must put input.txt in the project...

Computer Engineering and Computer Science
CECS 478
Nguyen
CECS 174 Lecture 22: 2D Arrays
Premium

Two Dimensional Arrays  How to declare: int[][] num = new int [3][5]; int[][] num = {{1,2,3},{3,4,5},{4,5,6},{5,6,7}} num[2][1] = 10  How to print: for(int i ...

Computer Engineering and Computer Science
CECS 478
Nguyen
CECS 211 Lecture 1: Lab1

Computer Engineering and Computer Science
CECS 211
Eric Hernandez
CECS 174 Lecture 11: Functions and Methods

Functions and Methods  √2  Math.pow(2,0.5);  Only one main method per class, but you can have multiple non-main methods  Method: a sequence of instructions with a name; like a smaller program  Some methods: ...

Computer Engineering and Computer Science
CECS 478
Nguyen
CECS 174 Lecture 12: Objects and Classes

Objects and Classes  Objects: entities in your program that you can manipulate by calling methods  Methods: sequences of instructions that access the data of an object  Classes: describe a set of objects with the s...

Computer Engineering and Computer Science
CECS 478
Nguyen
Permachart - Marketing Reference Guide: Magnetic Circuit, Electrical Network, Angular Velocity

l e a r n • r e f e r e n c e • r e v i e w permacharts TM Electrical Engineering GLOSSARY OF TERMS ...

Electrical Engineering
4400:307
All Professors
Electricity & Magnetism - Reference Guides

This Guide is another one of the many products that effectively advances one’s knowledge of a distinct aspect of the physical sciences. The basic of the properties of electricity and electrical circuits are established in ...

Electrical Engineering
4400:307
All Professors
Permachart - Marketing Reference Guide: Semiconductor Device, Precision Rectifier, Envelope Detector

permacharts TM E le c t r o n ic sI Waveforms Diodes ...

Electrical Engineering
4400:307
All Professors
Permachart - Marketing Reference Guide: Schmitt Trigger, Square Wave, Negative Feedback

permacharts TM E le c t r o n ic sII Operational Amplifiers (OP AMPS) ...

Electrical Engineering
4400:307
All Professors

Log In


OR

Don't have an account?

Join OneClass

Access over 10 million pages of study
documents for 1.3 million courses.

Sign up

Join to view


OR

By registering, I agree to the Terms and Privacy Policies
Already have an account?
Just a few more details

So we can recommend you notes for your school.

Reset Password

Please enter below the email address you registered with and we will send you a link to reset your password.

Add your courses

Get notes from the top students in your class.


Submit