Topic A: Computer Science Flashcards
Shortest path between two vertices (from a weighted undirected graph).
Can be solved by Dijkstra’s shortes path algorithm. This algorithm can fail if the edge weights are negative. In this algorithm, you initalize all distances for a node as infinity, then choose a node that you wish to find the shortest path for. Calculate the distance from that node to all of its neighbors and update the distnace values. Se the node as visited and don’t visit it again. Choose the node with the smalledst value and repeat until all nodes have been visited
Polynomial running time algorithm
Asymptotic analysis allows us to analyze the computational complexity of an algorithm, ignoring the effects of what computer we are using, how good our compiler is, etc. If an algorithm runs in polynomial time, it has O(nk) for k > 1 where bigh Oh notation denotes the asymptotic upper bound of complexity
Perfect binary tree (graph theoretic)
A binary tree is a tree where each parent has at most two children. A full binary tree is a binary tree where every node is a leaf or has two children. A perfect binary tree is a full binary tree where all the leaves are at the same tree depth.
Tail recursion (algorithms)
blank
View (relational database)
blank
Regularization (machine learning)
blank
Collision (hashing function)
blank
Dynamic memory allocation
blank
Explain what is over fitting with respect to training an algorithm and how can we detect it. For linear regression using L2 penalty, write the function optimized and give at least one technique that can be used to avoid over fitting in this scenario (5 points).
blank
Define model selection as it pertains to machine learning
blank
Suppose we have k different letters distributed independently and identically with frequencies, f1 … fk, in a string. Define the entropy of this string. Describe the kind of string with maximum entropy.
blank
Describe the elements of a Hidden Markov Model. That is, what are the variables, parameters, observations, etc.?
blank
Briefly describe bootstrap resampling distribution.
blank
What are the differences between stacks, queues, and priority queues?
blank
Compare quicksort and mergesort and list pros and cons.
blank
Write three mathematical conditions that imply an undirected graph G=(V,E) is a tree.
blank
If a query string P is length | P | and database size is S, what is the computational complexity of exact search for P in a database with a Burroughs-Wheeler Transform based indexing scheme?
blank
For a strictly unrooted binary tree (all vertices have degree one or degree three), how many edges are there for a tree with 10 leaves?
blank
Define SNP using the word population.
blank
Briefly define False Discovery Rate.
blank
Briefly define codon bias.
blank
Define maximum likelihood (ML) and maximum parsimony (MP) criteria for phylogeny recon- struction. List three advantages of ML over MP, and three advantages of MP over ML.
blank
Please define what the following statement means: In vivo protein folding problem.
blank
Please define what the following statement means: Local alignment problem (pairwise sequence alignment).
blank
We wish to describe a dynamic system with periodic dynamics to model circadian rhythm. We constructed a differential equation system with all real-valued eigenvalues. Is this an appropriate model for circadian rhythm? Describe the rationale for your answer.
blank
Briefly describe a normalization method for RNA sequencing based expression quantification and its rationale.
blank
Define polymorphism and give one example. Overloading?Overwriting?
blank
Give an example of a programming language that is (a) statically typed and one that is (b) dynamically typed.
blank
Chado is a generic genomic schema. It is purposefully ”weak-typed”. What does that mean?
blank
In memory allocation, what is garbage collection? List one advantage and one disadvantage of garbage collection.
blank
In which of the following problems can you estimate the parameters a and b using linear regres-sion A) y = ax1 + bx2, B) y = ax12 + bex2 , C) y = abx1 + bx2, D) y = ax1 + sin bx2.
blank