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

Flashcards

Input, Output, and Processing

Filipi Melo Programming Logic & Design Book Inglês 21 flashcards

Flashcards do conjunto (21)

  1. 1What is syntax in programming?Rules that dictate how code must be written in a programming language.
  2. 2What is debugging?Process of finding and fixing errors in program code.
  3. 3What is an algorithm?A step-by-step set of instructions for solving a problem.
  4. 4What's the main advantage of pseudocode?Allows focusing on program design without worrying about syntax rules.
  5. 5What do oval symbols represent in flowcharts?Start and End points (Terminal symbols).
  6. 6What do parallelogram symbols represent in flowcharts?Input and Output operations.
  7. 7What do rectangle symbols represent in flowcharts?Processing steps.
  8. 8What are the three basic steps of program processing in order?1. Receive input 2. Process data 3. Produce output
  9. 9What is an IPO chart used for?Planning program's Input, Processing, and Output components.
  10. 10What is a sequence structure?Program statements that execute in order, one after another.
  11. 11What is a variable in programming?A named storage location in memory that can hold data.
  12. 12What are three main rules for naming variables?1. No spaces allowed 2. Can't start with numbers 3. Use only letters and numbers
  13. 13What's the difference between underscore and camelCase naming?underscore_uses_underscores vs camelCaseUsesCapitalLetters
  14. 14What happens to a variable's old value when assigned a new one?The old value is replaced completely.
  15. 15What is variable initialization?Assigning an initial value to a variable when it's declared.
  16. 16Why are uninitialized variables dangerous?They may contain unpredictable "garbage" values.
  17. 17What's special about named constants?Their values cannot be changed after initialization.
  18. 18What is the correct order of mathematical operations in programming?1. Parentheses 2. Exponents 3. Multiplication/Division/Modulus 4. Addition/Subtraction
  19. 19What happens in integer division when the result has decimals?The decimal portion is truncated (removed).
  20. 20What's the difference between external and internal documentation?External is for users (guides/tutorials), internal is for programmers (code comments).
  21. 21What are the two types of code comments?Block comments (multiple lines) and line comments (single line).

Informações

Descrição
Book Programming Logic & Design (C2: Input, Output, and Processing) FlashCards sobre Input, Output, and Processing, criado por Filipi Melo em 31-10-2024.
Criado por
Filipi Melo
Visualizações
0
Avaliação

Fale Conosco

Sobre o que é sua mensagem?

O que você acha do novo visual?

Você gostou?