Filter By
Filter Reset
Lectures
  • All Lectures
  • Lecture 1 (2)
  • Lecture 2 (4)
  • Lecture 3 (3)
  • Lecture 4 (3)
  • Lecture 5 (3)
  • Lecture 6 (3)
  • Lecture 7 (2)
  • Lecture 8 (2)
  • Lecture 9 (2)
  • Lecture 10 (2)
  • Lecture 11 (1)
  • Lecture 12 (1)
  • Lecture 13 (2)
  • Lecture 14 (2)
  • Lecture 15 (1)
  • Lecture 20 (1)
  • Lecture 21 (1)
  • Lecture 27 (2)
  • Lecture 28 (1)
  • Lecture 29 (1)
Semester
Class Notes (1,032,412)
US (405,007)
UC-Davis (8,521)
ECS (189)
ECS 30 (39)

Class Notes for ECS 30 at University of California - Davis

Programming and Problem Solving

Exam Study Guides for ECS 30

Covers all exam topics.

ECS 30 Lecture Notes - Lecture 21: Compile Time
Premium

Lecture 21 Dynamic memory allocation - clean up the space being used for variables and other data storage - compile time variables are automatically deallocated based on their known extent Free() - Void free() ...

Engineering: Computer Science
ECS 30
Joel Porquet
ECS 30 Lecture Notes - Lecture 20: Static Variable, Memory Management, Null Pointer
Premium

Lecture 20 Static memory allocation Life time issue - Function cannot return a local variable - When using local variable, all resources have to already exit before calling subfunction - Global variable exist d...

Engineering: Computer Science
ECS 30
Joel Porquet
ECS 30 Lecture Notes - Lecture 29: C Standard Library, Object File
Premium

Lecture 29 Binary Files Writing/reading structures Much easier to write multi-byte object ...

Engineering: Computer Science
ECS 30
Joel Porquet
ECS 30 Lecture 27: Lecture 27
Premium

Lecture 27 The case for a dynamic ADT - Extensible collection of data o But extensibility actually very limited - Inserting an item - Removing an item - Needs a contiguous space in me...

Engineering: Computer Science
ECS 30
Joel Porquet
ECS 30 Lecture Notes - Lecture 28: Data File, Scanf Format String, Standard Streams
Premium

Lecture 28 Alias - used to hide the actual data type from client - modified as needed Create an alias to an existing type - anonymous ...

Engineering: Computer Science
ECS 30
Joel Porquet
ECS 30 Lecture Notes - Lecture 15: Ampersand, Sorting Algorithm, Dereference Operator
Premium

Lecture 15 See code line on powerpoint Pointer and iteration Use of a pointer variable for iterating through an array o Access current element through dereferencing o Increment pointer to move to next element Incrementin...

Engineering: Computer Science
ECS 30
Joel Porquet
ECS 30 Lecture Notes - Lecture 14: Switch Statement, Infinite Loop, Segmentation Fault
Premium

Lecture 14 See powerpoint for code lines Dynamic size - The size of the initialization list determines the number of elements Example: #include <stdio.h> int main(void) { int primes[] = { 2, 3, 5, 7, 11 }; p...

Engineering: Computer Science
ECS 30
Joel Porquet
ECS 30 Lecture Notes - Lecture 13: Array Data Structure, Data Structure
Premium

Lecture 13 Arrays The case for arrays Draw backs - Approach is not scalable - Doesnt quiet capture the nature of grades As algorithms become more complex - Break down in smaller steps - Functi...

Engineering: Computer Science
ECS 30
Joel Porquet
ECS 30 Lecture 27: Lecture 27
Premium

find more resources at oneclass.com Lecture 27 The case for a dynamic ADT - Extensible collection of data o But extensibility actually very limited - Inserting an item - Removing an item - Needs a contiguous space in memor...

Engineering: Computer Science
ECS 30
Joel Porquet
ECS 30 Lecture Notes - Lecture 10: Linked List
Premium

find more resources at oneclass.com 5302018 lecture Structures Basic example - Struct creates new data type o Collection of one or variables o Possibly of different types o Grouped together under unified name - Ideal to de...

Engineering: Computer Science
ECS 30
Joel Porquet
ECS 30 Lecture 13: ESC 030 Lecture 13 - Arrays Continued
Premium

Monday, 30 April 2018 ECS 030 Lecture 13 Arrays Continued Passing array as arguments Arrays always decay into simple pointers when passed as arguments Regardless of how the array is passed (int * or int [ ]) Only way to ...

Engineering: Computer Science
ECS 30
Joel Porquet
ECS 30 Lecture Notes - Lecture 11: Memory Address, Memory Management, Array Data Structure
Premium

Wednesday, 25 April 2018 ECS 030 Lecture 11 Pointers Continued + Start of Arrays Pointers Usage The idea of accessing objects through their memory address is used in many ways: 1. Output arguments for functions 2. Arrays...

Engineering: Computer Science
ECS 30
Joel Porquet
ECS 30 Lecture Notes - Lecture 12: Memory Address, Segmentation Fault
Premium

Friday, 27 April 2018 ECS 030 Lecture 12 Arrays Continued Indexing Any expression that produces an integer can be used as subscript, as long as subscript stays within bounds useful for loops increase the increment of i ...

Engineering: Computer Science
ECS 30
Joel Porquet
ECS 30 Lecture Notes - Lecture 14: Whitespace Character, Null Character, Memory Address
Premium

Wednesday, 2 May 2018 ECS 030 Lecture 14 Strings Arrays vs Strings Think of strings as a quote can put anything in in it (any character) can only occur as an element of an array Last byte of array of characters must be 0...

Engineering: Computer Science
ECS 30
Joel Porquet
ECS 30 Lecture Notes - Lecture 10: Memory Address, Segmentation Fault, Scanf Format String
Premium

Monday, 23 April 2018 ECS 30 Lecture 10 Pointers Memory Memory is a (massive) array of bytes Modern computers typically embed 8 GB (~8,000,000,000 bytes) New info every bite has a numerical address each time you assign...

Engineering: Computer Science
ECS 30
Joel Porquet
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