Computer science variables quiz

Int is a primitive data type
True
False
An int can be converted to a double
True
False
Which of these is considered a reference variable?
Int
Double
String
Boolean
A double can be converted to an int
True
False
How many bits can an int hold?
64
32
16
128
Ints are typically used in math expressions.
True
False
Which of these declares a PRIMITIVE variable?
Int number = 5;
System.out.println("Animals");
Message = scan.nextLine;
Scanner scan = new Scanner (System.in);
If you were trying to represent a number that uses decimals which data type would be appropriate
Int
String
Double
Boolean
A reference variable we have learned in class is...
Int number = 5;
Double dec = 4.2;
Scanner scan = new Scanner (System.in);
None of these are reference variables
{"name":"Computer science variables quiz", "url":"https://www.quiz-maker.com/QPREVIEW","txt":"Int is a primitive data type, An int can be converted to a double, Which of these is considered a reference variable?","img":"https://www.quiz-maker.com/3012/images/ogquiz.png"}
Powered by: Quiz Maker