CBSE Class 12 Computer Science Java Basics MCQs Set D

CBSE Class 12 Computer Science Java Basics MCQs Set D with answers available in Pdf for free download. The MCQ Questions for Class 12 Computer Science with answers have been prepared as per the latest 2021 syllabus, NCERT books and examination pattern suggested in Standard 12 by CBSE, NCERT and KVS. Multiple Choice Questions for important part of exams for Grade 12 Computer Science and if practiced properly can help you to get higher marks. Refer to more Chapter wise MCQs for NCERT Class 12 Computer Science and also download more latest study material for all subjects

Question: T&E first four data types hold_____

  • a) Real numbers
  • b) Integers
  • c) Single character
  • d) True or False

Answer: Integers


Question: The next two data types hold_____

  • a) Real numbers
  • b) Integers
  • c) Single character
  • d) True or False

Answer: Real numbers


Question: Char data type holds a single character from the Unicode character set.

  • a) Real numbers
  • b) Integers
  • c) Single character
  • d) True or False

Answer: Single character


Question: The Boolean data type holds one of the two logical values true or false.

  • a) Real numbers
  • b) Integers
  • c) Single character
  • d) True or False

Answer: True or False


Question: The data types in Java are called______as they are built into the system.

  • a) Fixed
  • b) Ancient
  • c) Primitive
  • d) New

Answer: Primitive


Question: In Java the______are machine-independent, this means that they can be relied on their sizes and characteristics to be consistent across all Java programs on all machines.

  • a) Data Types
  • b) Variables
  • c) Literals
  • d) All of these

Answer: Data Types


Question: _____in Java are complaint with IEEE 754 (an international standard for defining floating point numbers and arithmetic).

  • a) Real numbers
  • b) Integers
  • c) Single character
  • d) True or False

Answer: Real numbers


Question: Integer numbers with b bits_____store signed values in the range of (-2b_1 -1, 2b_1). 

  • a) Accuracy
  • b) Precision
  • c) Exactness
  • d) Vagueness

Answer: Precision


Question: When the Integer numbers are preceded with keyword_____the values are in the range of (0, 2b_1). 

  • a) Signed
  • b) Unsigned
  • c) Boolean
  • d) Byte

Answer: Unsigned


Question: Java uses the Unicode_______set.

  • a) Numerical
  • b) IEEE
  • c) Character
  • d) None of these

Answer: Character


Question: The char type has____bits of precision and is unsigned.

  • a) 13
  • b) 14
  • c) 15
  • d) 16

Answer: 16


Question: Data type_____is not a number, nor can it be treated as one.

  • a) Char
  • b) Real
  • c) Boolean
  • d) Integer

Answer: Boolean


Question: If anything is to be remembered by the computer, there will be a requirement of_____during program execution. It needs to be stored in the memory of the computer.

  • a) Variables
  • b) Literals
  • c) Comments
  • d) Operators

Answer: Variables


Question: ______manipulates the data that is stored in memory.

  • a) Information
  • b) Programs
  • c) Comments
  • d) Characters

Answer: Programs


Question: In machine language, data can only be referred to by giving the______address of the location in memory where it is stored.

  • a) Numerical
  • b) Alphanumeric
  • c) Alphabetical
  • d) Real

Answer: Numerical


Question: In a______language such as Java, names are used instead of numeric address of memory location to refer to data.

  • a) Low-level
  • b) Middle-level
  • c) High-level
  • d) Top-level

Answer: High-level


Question: A name is used to refer to the data stored in memory and it is called a_____

  • a) Variable
  • b) Literal
  • c) Comment
  • d) Operator

Answer: Variable


Question: A_____can take different data values at different times during the execution of the program, but it always refers to the same memory location.

  • a) Variable
  • b) Literal
  • c) Comment
  • d) Operator

Answer: Variable


Question: A______can be used in a Java program only if it has been declared.

  • a) Variable
  • b) Literal
  • c) Comment
  • d) Operator

Answer: Variable


Question: One or more variables can be declared in Java using_____statement.

  • a) Beginning
  • b) Initial
  • c) Declaration
  • d) Comment

Answer: Declaration


Question: In Java, the conventional syntax of_____denote the item to be specified by user.

  • a) Curly brackets
  • b) Square brackets
  • c) Angle brackets
  • d) Round brackets

Answer: Angle brackets


Question: In Java, the conventional syntax of_____denote the list of items separated by commas.

  • a) Curly brackets
  • b) Square brackets
  • c) Angle brackets
  • d) Round brackets

Answer: Curly brackets


Question: In syntax: {variable names}, it denote the list of____names.

  • a) Variable
  • b) Literal
  • c) Comment
  • d) Operator

Answer: Variable


Question: When the list contains more than one item, items should be separated by_____

  • a) Semi colon
  • b) Commas
  • c) Full stop
  • d) Colon

Answer: Commas


Question: In typical Java syntax, the is to be replaced with the keyword denoting the_____of the variables.

  • a) Data types
  • b) Variables
  • c) Literals
  • d) Comments

Answer: Data types


Question: ______is used to determine the size of variable, the values it can hold and the operations that can be performed on it.

  • a) Real numbers
  • b) Variables
  • c) Data Types
  • d) Floats

Answer: Data Types


Question: When the compute executes a variable____statement, it sets aside memory for the variable and associates the variable's name with that memory.

  • a) Data type
  • b) Initial
  • c) Declaration
  • d) Comment

Answer: Declaration


Question: Which of the following examples of variables is correct ?

  • a) Int marks;
  • b) Double amount, interest;
  • c) Float rate;
  • d) All of these

Answer: All of these


Question: Which of the following rule is incorrect while defining a variable name ?

  • a) It must begin with an alphabet, underscore (_)
  • b) It must begin with a percentage sign (%)
  • c) No spaces are allowed in variables
  • d) It cannot be a reserved word

Answer: It must begin with a percentage sign (%)


Question: Which of the following is true ?

  • a) Java is case-sensitive
  • b) Java is not case-sensitive
  • c) Both (A) and (B)
  • d) None of these

Answer: Java is case-sensitive

Tags: 

 


Click for more Computer Science Study Material
Cascading Style Sheets and JavaScript
CBSE Class 12 Computer Science Cascading Style Sheets and JavaScript MCQs Set A
CBSE Class 12 Computer Science Cascading Style Sheets and JavaScript MCQs Set B
CBSE Class 12 Computer Science Cascading Style Sheets and JavaScript MCQs Set C
CBSE Class 12 Computer Science Cascading Style Sheets and JavaScript MCQs Set D
Classes and Objects In Java
CBSE Class 12 Computer Science Classes and Objects In Java MCQs Set A
CBSE Class 12 Computer Science Classes and Objects In Java MCQs Set B
CBSE Class 12 Computer Science Classes and Objects In Java MCQs Set C
CBSE Class 12 Computer Science Classes and Objects In Java MCQs Set D
Creating HTML Forms Using KompoZer
CBSE Class 12 Computer Science Creating HTML Forms Using KompoZer MCQs Set A
CBSE Class 12 Computer Science Creating HTML Forms Using KompoZer MCQs Set B
CBSE Class 12 Computer Science Creating HTML Forms Using KompoZer MCQs Set C
CBSE Class 12 Computer Science Creating HTML Forms Using KompoZer MCQs Set D
CBSE Class 12 Computer Science Creating HTML Forms Using KompoZer MCQs Set E
CBSE Class 12 Computer Science Creating HTML Forms Using KompoZer MCQs Set F
CBSE Class 12 Computer Science Creating HTML Forms Using KompoZer MCQs Set G
CBSE Class 12 Computer Science Creating HTML Forms Using KompoZer MCQs Set H
CBSE Class 12 Computer Science Creating HTML Forms Using KompoZer MCQs Set I
Designing Simple Website Using Kompozer
CBSE Class 12 Computer Science Designing Simple Website Using Kompozer MCQs Set A
CBSE Class 12 Computer Science Designing Simple Website Using Kompozer MCQs Set B
CBSE Class 12 Computer Science Designing Simple Website Using Kompozer MCQs Set C
CBSE Class 12 Computer Science Designing Simple Website Using Kompozer MCQs Set D
Exception Handling In Java
CBSE Class 12 Computer Science Exception Handling In Java MCQs Set A
CBSE Class 12 Computer Science Exception Handling In Java MCQs Set B
CBSE Class 12 Computer Science Exception Handling In Java MCQs Set C
CBSE Class 12 Computer Science Exception Handling In Java MCQs Set D
File Handling
CBSE Class 12 Computer Science File Handling MCQs Set A
CBSE Class 12 Computer Science File Handling MCQs Set B
CBSE Class 12 Computer Science File Handling MCQs Set C
CBSE Class 12 Computer Science File Handling MCQs Set D
CBSE Class 12 Computer Science File Handling MCQs Set E
CBSE Class 12 Computer Science File Handling MCQs Set F
File System
CBSE Class 12 Computer Science File System MCQs Set A
CBSE Class 12 Computer Science File System MCQs Set B
CBSE Class 12 Computer Science File System MCQs Set C
CBSE Class 12 Computer Science File System MCQs Set D
CBSE Class 12 Computer Science File System MCQs Set E
CBSE Class 12 Computer Science File System MCQs Set F
Introduction To E Commerce
CBSE Class 12 Computer Science Introduction To E Commerce MCQs Set A
CBSE Class 12 Computer Science Introduction To E Commerce MCQs Set B
CBSE Class 12 Computer Science Introduction To E Commerce MCQs Set C
CBSE Class 12 Computer Science Introduction To E Commerce MCQs Set D
CBSE Class 12 Computer Science Introduction To E Commerce MCQs Set E
Introduction To M Commerce
CBSE Class 12 Computer Science Introduction To M Commerce MCQs Set A
CBSE Class 12 Computer Science Introduction To M Commerce MCQs Set B
CBSE Class 12 Computer Science Introduction To M Commerce MCQs Set C
CBSE Class 12 Computer Science Introduction To M Commerce MCQs Set D
CBSE Class 12 Computer Science Introduction To M Commerce MCQs Set E
CBSE Class 12 Computer Science Introduction To M Commerce MCQs Set F
CBSE Class 12 Computer Science Introduction To M Commerce MCQs Set G
CBSE Class 12 Computer Science Introduction To M Commerce MCQs Set H
Java Basics
CBSE Class 12 Computer Science Java Basics MCQs Set A
CBSE Class 12 Computer Science Java Basics MCQs Set B
CBSE Class 12 Computer Science Java Basics MCQs Set C
CBSE Class 12 Computer Science Java Basics MCQs Set D
CBSE Class 12 Computer Science Java Basics MCQs Set E
CBSE Class 12 Computer Science Java Basics MCQs Set F
CBSE Class 12 Computer Science Java Basics MCQs Set G
Object Oriented Concepts
CBSE Class 12 Computer Science Object Oriented Concepts MCQs Set A
CBSE Class 12 Computer Science Object Oriented Concepts MCQs Set B
CBSE Class 12 Computer Science Object Oriented Concepts MCQs Set C
CBSE Class 12 Computer Science Object Oriented Concepts MCQs Set D
CBSE Class 12 Computer Science Object Oriented Concepts MCQs Set E
Publishing Documents Using Latex
CBSE Class 12 Computer Science Publishing Documents Using Latex MCQs Set A
CBSE Class 12 Computer Science Publishing Documents Using Latex MCQs Set B
CBSE Class 12 Computer Science Publishing Documents Using Latex MCQs Set C
CBSE Class 12 Computer Science Publishing Documents Using Latex MCQs Set D
CBSE Class 12 Computer Science Publishing Documents Using Latex MCQs Set E
CBSE Class 12 Computer Science Publishing Documents Using Latex MCQs Set F
CBSE Class 12 Computer Science Publishing Documents Using Latex MCQs Set G
CBSE Class 12 Computer Science Publishing Documents Using Latex MCQs Set H

Latest NCERT & CBSE News

Read the latest news and announcements from NCERT and CBSE below. Important updates relating to your studies which will help you to keep yourself updated with latest happenings in school level education. Keep yourself updated with all latest news and also read articles from teachers which will help you to improve your studies, increase motivation level and promote faster learning

CBSE Class 12 Evaluation Criteria 2021

SUMMARY OF THE POLICY FOR TABULATION OF MARKS FOR CLASS XII BOARD EXAMINATIONS 2021   1(a) Due to cancellation of the Board examinations, the assessment of theory portion of 80/70/60/50/30 marks will be done by the school based on the following:     Class...

Moderation of Marks Class 11 and 12 Board Exams

The portal for moderation and finalization of results for Class-12 is being opened from 16.07.2021 to 22.07.2021. As Board has to declare the result latest by 31.07.2021, schools have been requested to follow the schedule strictly and complete the moderation within...

CBSE asks schools to load Class 12 Internal Assessment Marks

This has a reference to the letter no CBSE/COORD/2021 dated 11.02.2021 regarding conduct of the School-Based Assessment (Internal Assessment/Practical/ Project) of Class-XII and uploading the marks by 11.06.2021. It has been observed that some schools have not been...

CBSE Board Examination Scheme of Assessment 2021 2022

A. Academic session to be divided into 2 Terms with approximately 50% syllabus in each term: The syllabus for the Academic session 2021-22 will be divided into 2 terms by following a systematic approach by looking into the interconnectivity of concepts and topics by...

FAQs on Policy for Tabulation of Marks for Class 10 Board Exams

ON POLICY Question.1 How CBSE will declare the result of Class-X? Answer. Results of Class X Board will be declared on the basis of an objective criterion developed by the Board vide Notification no.CBSE/CE/2021 dated 01.05.2021. Question.2. If any candidate is not...

×
Studies Today