O GoConqr está de visual novo! Conte para nós o que você achou.

Quiz

D-Structures and Algorithms Midterm

Upma Sharma 27 perguntas Atualizado em 21 jan 2019

Fazer o quiz

Este quiz tem tipos de pergunta que abrem no player de sempre.

Perguntas do quiz (27)

  1. 1An algorithm is a step-by-step procedure for solving a problem in a finite amount of time.
    1. AVerdadeiro
    2. BFalso
  2. 2Algorithms (choose correct)
    1. Atransform input objects --> output objects
    2. Bruntime grows with input size
    3. CAverage case size difficult to determine, focus on WORST CASE RUN TIME
    4. DBest case size is most difficult to determine
  3. 3To compare two algorithms same hardware and software must be used. Implementing algorithms is important, but difficult.
    1. AVerdadeiro
    2. BFalso
  4. 4Theoretical Analysis of an algorithm
    1. Auses high level description of the algorithm instead of an implementation
    2. Bcharacterizes run time as f(x) of input size (n) and accounts for all possible inputs
    3. Cenables speed evaluation of algorithm independent of software/hardware
    4. Dunable to do speed evaluation of algorithm independent of software/hardware
  5. 5Pseudocode:
    1. Ahigh level description of an algorithm
    2. BMore structured than English prose, but less detailed than program
    3. Chides program design issues
    4. Dallows you to see program design issues.
  6. 6Primitive Operations
    1. Abasic computations performed by an algorithm
    2. Blargely independent of programming language
    3. Cassumed to take constant time in RAM model
    4. Didentifiable in pseudocode
  7. 7Growth Rate of Running Time
    1. Achanges with hardware/software
    2. BAffects T(n) by constant factor
    3. CAlters the growth rate of T(n)
    4. DDoes not alter the growth rate of T(n)
  8. 8The growth rate of an algorithm is
    1. Anot affected by constant factors
    2. Bnot affected by lower order terms
    3. Cis affected by constant factors
  9. 9Big-Oh notation: given f(n) and g(n), f(n) is O(g(n)) if positive constants c and n(v 0) such that:
    f(n) <= cg(n) for n >= n(not)
    1. AVerdadeiro
    2. BFalso
  10. 10Big Oh notation
    1. Agive upper bound on growth rate of fun
    2. Bfunctions are ranked according to growth rate:

Informações

Descrição
Quiz sobre D-Structures and Algorithms Midterm, criado por Upma Sharma em 11-01-2019.
Idioma
English
Visualizações
2
Histórico
Criado em 11 jan 2019 · atualizado em 21 jan 2019
Avaliação
Ainda sem avaliações
Avalie este quiz
Avalie este quiz

Fale Conosco

Sobre o que é sua mensagem?

O que você acha do novo visual?

Você gostou?