Chapter 8: Primitive Data

Ace your homework & exams now with Quizwiz!

What is a Java primitive data type? A. A method for representing values that is so useful that it is a fundamental part of the language. B. A crude form of representing numbers. C. The part of Java that is the same as in older languages. D. A data type that cannot be used as part of an object.

A

What is a data type? A. The part of the CPU that does arithmetic. B. A part of main memory used to store data. C. A particular scheme for represending values with bit patterns. D. The collection of variables that a program uses.

C

Can character data be stored in computer memory? A. No—computers can only store numbers. B. No—computer memory can only store patterns. C. Yes—characters are stored in special memory. D. Yes—a primitive data type is used to store characters.

D

Which of the following is NOT the name of a Java primitive data type? A. int B. float C. double D. String

D

Say that a particular item of data does NOT use a primitive data type. What must it be? A. An object. B. A number. C. A literal. D. A boolean.

A


Related study sets

Chapter 51 Caring for Clients with Diabetes Mellitus

View Set

Chapter 32 - the toddler and family (evolve)

View Set

Dynamics of Healthcare, Chapter 3, Unit test

View Set

Postpartum Psychosocial Adaptations Ch. 18

View Set

HTH-4503 Human Disease & Epidemiology Exam 1 Study Guide

View Set