Shared Flashcard Set

Details

CS 136
NAU CS 136 Omar
18
Computer Science
Undergraduate 2
01/15/2014

Additional Computer Science Flashcards

 


 

Cards

Term
what is a compiler
Definition
Source code, compiler, machine code, execute
Term
Why use a compiler?
Definition
Performance
Term
Why not use a compiler
Definition
Distribution and portability
Term
What is an interpreter
Definition
Source code, interpreter, execute
Term
Why use an interpreter
Definition
Flexibility
Term
Why not use an interpreter?
Definition
Performance
Term
Where does python fall in this divide.
Definition
Somewhere in the middle.
Source code, compiler, bytecode, interpreter, execute
Term
With python being in the middle what is the result of case scenarios?
Definition
Best and worst of both world case scenarios.
Term
TRUE or FALSE
print ((5 >= 1) and (3 <= 5))
Definition
TRUE
Term
TRUE or FALSE
non-zero output
Definition
True
Term
What is the program for the Fibonacci series
Definition

while b < 10:

...print a,b

...a,b = b, a + b

Term
Exception Handling
Definition
try and except
Term
Singly Linked List
Definition

Only goes one direction

[image]

Term
Doubly Linked List
Definition

Goes forward and backward

[image]

Term
Push() or Pop() a stack
Definition

when you push a number into a stack

[image]

Term
Dequeque() and Enqueque()
Definition

When you pus a number through a tube

[image]
Term
Equivalence Partition
Definition
divides the input data of a software unit into partitions of equivalent data from which test cases can be derived.
Term
build a general recursion program
Definition

#the basics of recursion def foo(n):
...if not n:
......return n

...else:

.......return foo(n)

Supporting users have an ad free experience!