Ahmet Numan Aral

Ahmet Numan Aral

University of Calgary

CPSC 2nd Year - U of C

Elite Note Taker
224Uploads
0Likes
0Blog Articles
All Activity
Uploads (224)
Blog Articles (0)
Homework Help (0)
U OF CCPSC 471Nelson WongWinter

CPSC 471 Study Guide - Midterm Guide: Foreign Key, Data Integrity, Unique Key

Ahmet Numan Aral7 Page
17 Mar 2017
0
Guide: data model: set of concepts -with constraints- to describe the structure of database, categories: Conceptual/entity based (high level and semant
View Document
U OF CCPSC 355Leonard ManzaraFall

[CPSC 355] - Final Exam Guide - Comprehensive Notes for the exam (117 pages long!)

Ahmet Numan Aral117 Page
29 Nov 2016
56
Cpsc 355 lecture 2 - sept 14th. A basic computer system consists of: central processing unit(cpu, system clock, primary memory. Also called random acce
View Document
U OF CCPSC 355Leonard ManzaraFall

CPSC 355 Lecture Notes - Lecture 30: File Descriptor, Assembly Language, Standard Streams

Ahmet Numan Aral5 Page
27 Nov 2016
15
Eg: opening an existing file called myfile. bin. Cpsc 355 - lecture 30 nov 25th. // error handling code (cid:862)(cid:373)yfile. bi(cid:374)(cid:863) w
View Document
U OF CCPSC 355Leonard ManzaraFall

CPSC 355 Lecture Notes - Lecture 28: Gnu Debugger, Assembly Language, Function Prototype

Ahmet Numan Aral5 Page
27 Nov 2016
10
Cpsc 355 - lecture 28 nov 21st. Example using two separate assembly code files. global stp adrp x19, a_m add x19, x19, :lo12:a_m ldr w0, [x19] bl myfun
View Document
U OF CCPSC 355Leonard ManzaraFall

CPSC 355 Lecture Notes - Lecture 29: File Descriptor, Service Catalog, System Call

Ahmet Numan Aral3 Page
27 Nov 2016
6
Cpsc 355 - lecture 29 nov 23rd. Since out arm server are running a linux os, only system i/o is available. O user-level programs communicate with exter
View Document
U OF CCPSC 355Leonard ManzaraFall

CPSC 355 Lecture Notes - Lecture 24: Block Code, Local Variable, Call Stack

Ahmet Numan Aral4 Page
21 Nov 2016
6
Cpsc 355 - lecture 24 nov 8th. Leaf subroutines do not call any other subroutines: i. e. are leaf nodes on a structure diagram. Eg: optimized cube func
View Document
U OF CCPSC 355Leonard ManzaraFall

CPSC 355 Lecture Notes - Lecture 25: .Bss, Global Variable, Segmentation Fault

Ahmet Numan Aral5 Page
21 Nov 2016
4
Cpsc 355 - lecture 25 nov 14th. Global variables: scope: global (from declaration onwards, lifetime: life of program, are stored in a separate section
View Document
U OF CCPSC 355Leonard ManzaraFall

CPSC 355 Lecture Notes - Lecture 27: Object Code, Gnu Compiler Collection, Entry Point

Ahmet Numan Aral4 Page
21 Nov 2016
8
Cpsc 355 - lecture 27 nov 18th. Equivalent assembly code define(i_r, w19) define(base_r, x20) fmt: spr_m: sum_m: fall_m: win_m season_m: . dword (cid:8
View Document
U OF CCPSC 355Leonard ManzaraFall

CPSC 355 Lecture Notes - Lecture 24: Call Stack, The Fp, Subroutine

Ahmet Numan Aral5 Page
21 Nov 2016
3
View Document
U OF CCPSC 355Leonard ManzaraFall

CPSC 355 Lecture Notes - Lecture 26: .Bss, Gnu Debugger, String Literal

Ahmet Numan Aral3 Page
21 Nov 2016
3
Cpsc 355 - lecture 26 nov 16th. Uninitialized space can be allocated with the . skip pseudo-op: eg: 10 elements int array myarray: Use . global, if the
View Document
U OF CCPSC 355Leonard ManzaraFall

CPSC 355 Lecture Notes - Lecture 23: Call Stack, Local Variable, Assembly Language

Ahmet Numan Aral5 Page
21 Nov 2016
5
Cpsc 355 - lecture 23 nov 6th. In calling code, the address of a variable is passed to the subroutine: implies that the variable must be in ram, not in
View Document
U OF CCPSC 355Leonard ManzaraFall

CPSC 355 Lecture Notes - Lecture 20: Assembly Language

Ahmet Numan Aral3 Page
21 Nov 2016
10
Cpsc 355 - lecture 20 oct 28th. Contain fields which may be of different types. Are deallocated in a single block of memory on the stack: fields are ac
View Document
U OF CCPSC 355Leonard ManzaraFall

CPSC 355 Lecture Notes - Lecture 21: Specific Impulse, Subroutine, Machine Code

Ahmet Numan Aral5 Page
6 Nov 2016
9
Cpsc 355 - lecture 21 oct 31st. Int main( ){ structure employee joe; joe. id = 4001; joe. start. day = 1; joe. start. month = 6; joe. start. year = 199
View Document
U OF CCPSC 355Leonard ManzaraFall

CPSC 355 Study Guide - Midterm Guide: Arm Architecture, Bitwise Operation, Clock Rate

Ahmet Numan Aral8 Page
30 Oct 2016
32
View Document
U OF CCPSC 355Leonard ManzaraFall

CPSC 355 Lecture Notes - Lecture 12: Sign Bit

Ahmet Numan Aral2 Page
30 Oct 2016
9
Cpsc 355 - lecture 12 oct 7th. Logical shift right: form (64-bit): lsr xd, xn, xm. Xm: shift count: 0 is shifted into leftmost bit. Shifted out bits ar
View Document
U OF CCPSC 355Leonard ManzaraFall

CPSC 355 Lecture Notes - Lecture 11: Truth Table, Bitwise Operation, Bit Array

Ahmet Numan Aral3 Page
30 Oct 2016
7
Ands sets or clears m and z flags according to the result (v and c always. Cpsc 355 - lecture 11 oct 5th cleared: eg: test if bit 3 is set in x20 bitse
View Document
U OF CCPSC 355Leonard ManzaraFall

CPSC 355 Lecture Notes - Lecture 8: Assembly Language, Boolean Algebra

Ahmet Numan Aral4 Page
30 Oct 2016
3
Cpsc 355 - lecture 8 sept 28th. Are formed by branching from the bottom of the loop to the top. The do loop is post-test loop: the loop body will be ex
View Document
U OF CCPSC 355Leonard ManzaraFall

CPSC 355 Lecture Notes - Lecture 5: Gnu Compiler Collection, Hypervisor, Call Stack

Ahmet Numan Aral4 Page
30 Oct 2016
12
Cpsc 355 - lecture 5 - sept 21st. Unfortunately, gcc (actually as) has limited support for macros: we use m4 instead, before invoking gcc. Eg: add x19
View Document
U OF CCPSC 355Leonard ManzaraFall

CPSC 355 Lecture Notes - Lecture 10: Octal, 64-Bit Computing, Truth Table

Ahmet Numan Aral3 Page
30 Oct 2016
6
Cpsc 355 - lecture 10 oct 3rd. The sign-magnitude and o(cid:374)e"s co(cid:373)ple(cid:373)e(cid:374)t representations are also possible: but are awkwa
View Document
U OF CCPSC 355Leonard ManzaraFall

CPSC 355 Lecture Notes - Lecture 9: Mediacorp, Gnu Debugger, Punched Tape

Ahmet Numan Aral4 Page
30 Oct 2016
8
Cpsc 355 - lecture 9 - sept 30th. } else { c = a + b; d = c + 5; c = a b; d = c 5; In assembly cmp a_r, b_r b. le else define(a_r, x19) define(b_r, x20
View Document
U OF CCPSC 355Leonard ManzaraFall

CPSC 355 Lecture Notes - Lecture 18: Init, In C, Base Address

Ahmet Numan Aral4 Page
30 Oct 2016
4
Cpsc 355 - lecture 18 oct 24th. M4 macros can be used for offsets to improve readability: eg: define(a_s, 16) define(b_s, 20) str w20, [x29, a_s] ldr w
View Document
U OF CCPSC 355Leonard ManzaraFall

CPSC 355 Lecture Notes - Lecture 6: Operand, Gnu Compiler Collection, Octal

Ahmet Numan Aral4 Page
30 Oct 2016
2
Cpsc 355 - lecture 6 - sept 23rd. An immediate value (a constant) may be used as final source operand or some instructions: eg: add, a # symbol can pre
View Document
U OF CCPSC 355Leonard ManzaraFall

CPSC 355 Lecture Notes - Lecture 3: Control Bus, Hard Disk Drive, Address Bus

Ahmet Numan Aral3 Page
30 Oct 2016
6
Cpsc 355 lecture 3 - sept 16th. Is a set of parallel data/signal lines. Is used to transform information between computer components. Often subdivided
View Document
U OF CCPSC 355Leonard ManzaraFall

CPSC 355 Lecture Notes - Lecture 7: Assembly Language, Elementary Arithmetic, Printf Format String

Ahmet Numan Aral3 Page
30 Oct 2016
3
Cpsc 355 - lecture 7 - sept 26th. Multiply-add: form (32-bit): madd wd, wn, wm, wa. Calculates: wd = wa + (wn * wm: eg: madd w20, w21, w22, w23, 64-bit
View Document
U OF CCPSC 355Leonard ManzaraFall

CPSC 355 Lecture Notes - Lecture 16: Call Stack, Ahor, Arm Architecture

Ahmet Numan Aral3 Page
30 Oct 2016
5
Cpsc 355 - lecture 16 oct 19th. The frame pointer (fp) is a register x29. Is used to point to local variables in a stack frame: is stable, once set at
View Document
U OF CCPSC 355Leonard ManzaraFall

CPSC 355 Lecture Notes - Lecture 19: Assembly Language

Ahmet Numan Aral3 Page
30 Oct 2016
6
Cpsc 355 - lecture 19 oct 26th. Array elements are accessed using load and store instructions: eg: ia[2] = 13; define(ia_base_r, x19) define(index_r, x
View Document
U OF CCPSC 355Leonard ManzaraFall

CPSC 355 Lecture Notes - Lecture 15: Negative Number, Extended Precision, C Dynamic Memory Allocation

Ahmet Numan Aral4 Page
30 Oct 2016
14
Can be done using an iterated procedure similar to manual long division. Cpsc 355 - lecture 15 oct 17th: eg: 245 / 5 = 49. Early riscs used a similar t
View Document
U OF CCPSC 355Leonard ManzaraFall

CPSC 355 Lecture 17: CPSC 355 - Lecture 17 – Oct 21st

Ahmet Numan Aral3 Page
30 Oct 2016
4
Cpsc 355 - lecture 17 oct 21st. Addr: expression specifying the address in memory to read from: loads register with 8 bytes read from ram, eg: ldr, 32-
View Document
U OF CCPSC 355Leonard ManzaraFall

CPSC 355 Lecture Notes - Lecture 4: Complex Instruction Set Computing, Emacs, Opcode

Ahmet Numan Aral3 Page
30 Oct 2016
8
Cpsc 355 - lecture 4 - sept 19th. May have instructions that take many cycles to execute. Machine instructions vary in length, and may be followed by (
View Document
U OF CCPSC 355Leonard ManzaraFall

CPSC 355 Lecture Notes - Lecture 13: Extended Precision, Subtraction, Bit Field

Ahmet Numan Aral3 Page
30 Oct 2016
7
Cpsc 355 - lecture 13 oct 12th. Bitfield insert: form (32-bit): bfi wd, wn, #lsb, #width. #width: number of bits in the bitfield: source bitfield occup
View Document
U OF CCPSC 355Leonard ManzaraFall

CPSC 355 Lecture Notes - Lecture 2: Opcode, Square Wave, Instruction Register

Ahmet Numan Aral3 Page
30 Oct 2016
8
Cpsc 355 lecture 2 - sept 14th. A basic computer system consists of: central processing unit(cpu, system clock, primary memory. Also called random acce
View Document
U OF CCPSC 355Leonard ManzaraFall

CPSC 355 Lecture Notes - Lecture 14: V Engine, Nsw Trainlink V Set, Arithmetic Shift

Ahmet Numan Aral3 Page
30 Oct 2016
11
Cpsc 355 - lecture 14 oct 14th. 4-bit example: -8 -5 is -13 which is out of range (the modulus result is 3) V set to 1, n to 0, z to 0. 8 != 5, since z
View Document
U OF CCPSC 233Leonard ManzaraWinter

CPSC 233 Study Guide - Final Guide: Binary File, Parsing, Subtyping

Ahmet Numan Aral19 Page
23 Apr 2016
159
Abstract window toolkit and swing packages give support for building guis. Layout managers -> govern how components appear in a window. Handle events g
View Document
U OF CGRST 209Bryan NataliWinter

GRST209 Final: GRST 209 - Final Study Guide

Ahmet Numan Aral13 Page
21 Apr 2016
183
Odysseus ii - returns to ithaca: odysseus nears the shore of scheria, phaeacians, ruled by alcinous) Odysseus at ithaca: he seeks out his s(cid:449)i(c
View Document
U OF CGEOG 205Yvonne MartinWinter

GEOG 205 Study Guide - Final Guide: Reducing Emissions From Deforestation And Forest Degradation, Social Vulnerability, Socalled

Ahmet Numan Aral27 Page
18 Apr 2016
154
View Document
U OF CSTAT 213Jim StallardFall

STAT213 Final: Exam Notes, Things to remember

Ahmet Numan Aral2 Page
2 Apr 2016
120
View Document
U OF CSTAT 213Jim StallardFall

STAT213 Final: 8 - 68-95-99% Rule and Chebyshev's Rule

Ahmet Numan Aral2 Page
2 Apr 2016
49
View Document
U OF CSTAT 213Jim StallardFall

STAT213 Final: 9 - Quartiles and Modified Boxplots

Ahmet Numan Aral1 Page
2 Apr 2016
3
View Document
U OF CSTAT 213Jim StallardFall

STAT213 Final: 10 - Boxplots, Outliers

Ahmet Numan Aral1 Page
2 Apr 2016
31
View Document
U OF CSTAT 213Jim StallardFall

STAT213 Final: 4 - Getting Data, Sampling

Ahmet Numan Aral3 Page
2 Apr 2016
25
View Document