Pular para o conteúdo

Build reports from records and text files

Escolher um registro para campos relacionados

Um código de produto é STRING porque zeros à esquerda podem importar. Sua quantidade é INTEGER porque é contada. Um registro mantém esses campos sob um único identificador; uma matriz armazena vários produtos.

A record type groups related fields of different types under one name

Explain your choice of data structure and loop. Identify one boundary case and predict its result. For a subroutine, explain what is returned or changed in the caller.

Salvo para esta sessão neste navegador. Revise isso sozinho ou com seu professor; essas explicações não são marcadas automaticamente.

Revise sua explicação contra estes critérios
  • My types and data structure match the data and the question.
  • I justified the loop and checked its first and last iterations.
  • Initial values and rejected operations preserve the intended state.
  • My test includes input, purpose and expected result.
  • I distinguished returning a value from printing and changing caller state.

Entrar ou criar conta

IGCSE, A-Level & AP