CBSE Class 12 Computer Science Java Basics MCQs Set F

CBSE Class 12 Computer Science Java Basics MCQs Set F 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 syllabus, NCERT books and examination pattern suggested in Standard 12 by CBSE, NCERT and KVS. Multiple Choice Questions are an 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

Java Basics Class 12 Computer Science MCQ

Class 12 Computer Science students should refer to the following multiple-choice questions with answers for Java Basics in standard 12. These MCQ questions with answers for Grade 12 Computer Science will come in exams and help you to score good marks

Java Basics MCQ Questions with Answers

Question: The________statement makes use of branchinj decision making.

  • a) While
  • b) For
  • c) If
  • d) Do...While

Answer: If


Question: _______literals are called floating point literals.

  • a) Real integer
  • b) Real point
  • c) Real float
  • d) Real number

Answer: Real number


Question: _______numbers can be represented using two types of notations : standard and scientific.

  • a) Real integer
  • b) Real point
  • c) Real float
  • d) Real number

Answer: Real number


Question: hi standard notations, the integer part and the fractional part are separated with______for example 12.37.

  • a) Decimal point (.)
  • b) Comma (,)
  • c) Colon (:)
  • d) Semi-colon (;)

Answer: Decimal point (.)


Question: In scientific notation a number is followed by letter________and a signed integer exponent, for example 1.3el2 and 12.3737e-108.

  • a) X or x
  • b) S or s
  • c) E or e
  • d) Both (A) and (C)

Answer: E or e


Question: ________format can be used to express very large and very small numbers.

  • a) Scientific
  • b) Unicode
  • c) ASCII
  • d) Binary

Answer: Scientific


Question: In Java, floating point literal by default is of the type_______

  • a) Long
  • b) Float
  • c) Double
  • d) Single

Answer: Double


Question: The suffix_______can be written in either lower or upper case.

  • a) F
  • b) R
  • c) X
  • d) OX

Answer: F


Question: For the type________there are precisely two literals : true and false.

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

Answer: Boolean


Question: _______literals are to be types without quotes.

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

Answer: Boolean


More Questions............................


Question: _______literals represent values, not variables.

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

Answer: Boolean


Question: Boolean values occur most often as the values of conditional_______

  • a) Expressions
  • b) Statements
  • c) Methods
  • d) True or false

Answer: Expressions


Question: In C language, 0 is treated as false and_______value is treated as true.

  • a) Number
  • b) Non-zero
  • c) Character
  • d) None of these

Answer: Non-zero


Question: In Java, literals true and false are not associated with any_______value.

  • a) ASCII
  • b) Real
  • c) Numeric
  • d) Expression

Answer: Numeric


Question: literals are expressed by a single character surrounded by single quotes.

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

Answer: Character


Question: Characters are stored as______Unicode characters.

  • a) 16-bit
  • b) 8-bit
  • c) 32-bit
  • d) 64-bit

Answer: 16-bit


Question: Certain special characters have special literals that use a_______as an "escape character".

  • a) Slash (/)
  • b) Back slash (\)
  • c) Both (A) and (B)
  • d) None of these

Answer: Back slash (\)


Question: '\n' Escape code means_______

  • a) Tab
  • b) Line
  • c) New Line
  • d) Backspace

Answer: New Line


Question: '\t' Escape code means_____

  • a) Tab
  • b) Line
  • c) New Line
  • d) Backspace

Answer: Tab


Question: A_______is used when a conversion of a value has to be forced.

  • a) Fun cast
  • b) Cast
  • c) Operator Cast
  • d) Type Cast

Answer: Type Cast


Question: In Java, operators are evaluated as per their precedence.

  • a) Order
  • b) Continuity
  • c) Precedence
  • d) Evaluation

Answer: Precedence


Question: When two operators with the same precedence appear in the expression, the expression is evaluated according to its______

  • a) Order
  • b) Associatively
  • c) Precedence
  • d) Evaluation

Answer: Associatively


Question: The Associativity of Unary operators is from :

  • a) Left-to-Right
  • b) Right-to-Left
  • c) Both (A) and (B)
  • d) None of these

Answer: Right-to-Left


Question: The Associativity of Logical operators is from :

  • a) Left-to-Right
  • b) Right-to-Left
  • c) Both (A) and (B)
  • d) None of these

Answer: Left-to-Right


Question: The Associativity of Conditional operators is from :

  • a) Left-to-Right
  • b) Right-to-Left
  • c) Both (A) and (B)
  • d) None of these

Answer: Right-to-Left


Question: The Associativity of Relational operators is from :

  • a) Left-to-Right
  • b) Right-to-Left
  • c) Both (A) and (B)
  • d) None of these

Answer: Left-to-Right


Question: The statements that enable the flow of ^execution are considered as______

  • a) Blocks
  • b) Structures
  • c) Control structures
  • d) Logical structures

Answer: Control structures


Question: There are_____types of control structures.

  • a) One
  • b) Two
  • c) Three
  • d) Four

Answer: Two


Question: ________are used to repeat a sequence of statements over and over until some condition occurs.

  • a) Structures
  • b) Charts
  • c) Branches
  • d) Loops

Answer: Loops


Question: ______are used to choose among two or more possible courses of action, so also called selective structure.

  • a) Structures
  • b) Blocks
  • c) Branches
  • d) Loops

Answer: Branches

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 C
CBSE Class 12 Computer Science Cascading Style Sheets and JavaScript MCQs Set D
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
Classes and Objects In Java
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
CBSE Class 12 Computer Science Classes and Objects In Java MCQs Set A
Creating HTML Forms Using KompoZer
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 A
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 B
CBSE Class 12 Computer Science Creating HTML Forms Using KompoZer MCQs Set I
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
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 C
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 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 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
CBSE Class 12 Computer Science File Handling MCQs Set A
CBSE Class 12 Computer Science File Handling MCQs Set B
File System
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
CBSE Class 12 Computer Science File System MCQs Set A
Introduction To E Commerce
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
CBSE Class 12 Computer Science Introduction To E Commerce MCQs Set A
Introduction To M Commerce
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 A
CBSE Class 12 Computer Science Introduction To M Commerce MCQs Set H
CBSE Class 12 Computer Science Introduction To M Commerce MCQs Set B
Java Basics
CBSE Class 12 Computer Science Java Basics MCQs Set E
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 F
CBSE Class 12 Computer Science Java Basics MCQs Set C
CBSE Class 12 Computer Science Java Basics MCQs Set G
CBSE Class 12 Computer Science Java Basics MCQs Set D
Object Oriented Concepts
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
CBSE Class 12 Computer Science Object Oriented Concepts MCQs Set A
Publishing Documents Using Latex
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 A
CBSE Class 12 Computer Science Publishing Documents Using Latex MCQs Set H
CBSE Class 12 Computer Science Publishing Documents Using Latex MCQs Set B
CBSE Class 12 Computer Science Publishing Documents Using Latex MCQs Set C

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

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...

MCQ Question based CBSE examination

For 2021-22 CBSE has launched MCQ question-based examination for Term 1 & Term 2 board examinations. The entire syllabus has been divided into two parts each including 50% of the entire syllabus. To score well, students must practice as per the new CBSE term-wise...

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...

Score well in Class 12 English Boards Exam

12th Board exams are an important part of students' lives. The marks obtained in the board exam decide the college in which one can study. In class 12 the syllabus of each and every subject increases vastly and it is difficult to cover up every point. In English also...

CBSE Class 10 Revised Syllabus

Last year CBSE had to reduce the syllabus because of the pandemic situation but it was not very effective because there were no examinations. This year to avoid any confusion and conflict, CBSE has decided to reduce the syllabus into term 1 and term 2. 50 percent of...

How To Solve Unseen Passages In English

Unseen passages may contain one or many paragraphs. This is one of the important yet easy parts for a student to get marks. Students should thoroughly study and understand the passage to answer the related questions. The unseen passages are there just to test the...

×
Studies Today