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

Flashcards

Math stuff

Virginie Gagné Computer Science Inglês 11 flashcards

Math stuff

Flashcards do conjunto (11)

  1. 1what's 101011 in hexadecimal base101011 -> 0010 1011
    -> 2 and b
    ->0x2b
  2. 2base converting alg decimal to binarybase converting alg decimal to binary
  3. 3base converting alg base 10 to other basebase converting alg base 10 to other base
  4. 4addition algaddition alg
  5. 5slow multiplication algslow multiplication alg
  6. 6fast multiplication algfast multiplication alg
  7. 7slow division algslow division alg
  8. 8How many operations are required for the addition alg?c1+c2N operations, i.e. a constant c1 plus a term that is proportional (with factor c2) to the number N of digits.
    (some instructions executed once, then a for loop n times)
  9. 9How many operations are required for the multiplication alg?two main steps, each having a pair of for loops, one nested inside the other.
    “nesting” leads to N^2 passes through the inner loop.
    instructions are executed N times before for loop
    so c3 + c4N + c5N^2
    The dominating term will be the N2 term. We will say that the algorithm runs in time O(N^2)
  10. 10Addition for another base algAddition for another base alg
  11. 11what is / in Java? what is %?integer (floor) division
    remainder operator (NOT mod)
    (a/b) ∗ b + (a % b) = a

Informações

Descrição
Computer Science FlashCards sobre Math stuff, criado por Virginie Gagné em 17-04-2022.
Criado por
Virginie Gagné
Visualizações
0
Avaliação

Fale Conosco

Sobre o que é sua mensagem?

O que você acha do novo visual?

Você gostou?