data types and structures

mcqspedia.com has 5 Question/Answers about Topic data types and structures

When variable used in program is whole number, variable is stored as

When variable used in program is whole number, variable is stored as
  • A. fixed string
  • B. integers
  • C. negative whole numbers
  • D. positive whole numbers
  • Correct Answer: Option B

Size of an array is declared by

Size of an array is declared by
  • A. programmer
  • B. program users
  • C. software
  • D. declared automatically
  • Correct Answer: Option A

Data types are differed on basis of

Data types are differed on basis of
  • A. way of storage
  • B. type of operations
  • C. type of operators used
  • D. both a and b
  • Correct Answer: Option D

Statement “130 num(subs) = 2*subs-1” is an example of

Statement “130 num(subs) = 2*subs-1” is an example of
  • A. array in COMAL
  • B. array in Pascal
  • C. array in COBOL
  • D. array in BASIC
  • Correct Answer: Option D

In command “110 DIM num(10)” in BASIC language, ‘110’ declares

In command “110 DIM num(10)” in BASIC language, ‘110’ declares
  • A. one-dimensional array
  • B. two-dimensional array
  • C. three-dimension array
  • D. mulch-dimension array
  • Correct Answer: Option A