CBSE Class 12 Computer Science Java Basics MCQs Set C

CBSE Class 12 Computer Science Java Basics MCQs Set C 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: Start S Cite application. Select File ->

  • a) Save
  • b) New
  • c) Open
  • d) Start

Answer: New


Question: To save the file, select File __________command.

  • a) Save
  • b) New
  • c) Open
  • d) Start

Answer: Save


Question: _________editor is used to create Java application.

  • a) Notepad
  • b) Wordpad
  • c) S Cite
  • d) Word

Answer: S Cite


Question: To compile a source program use___________Compile command.

  • a) File
  • b) Edit
  • c) Tools
  • d) Buffers

Answer: Tools


Question: If the program is compiled without any error, execute it using___________Go command

  • a) File
  • b) Edit
  • c) Tools
  • d) Buffers

Answer: Tools


Question: Programming____________differ from ordinary human languages in being completely unambiguous and very strict about what is and is not allowed in a program

  • a) Rules
  • b) Methods
  • c) Files
  • d) Languages

Answer: Languages

 

Question: The rules that determine what is allowed to be used in a language are called the_________of the language

  • a) Protocols
  • b) Syntax
  • c) Methodology
  • d) Regulations

Answer: Syntax

 

Question: ____________rules specify the basic vocabulary of the language and how programs can be constructed using things like variables, expressions, statements, branches, loops and methods

  • a) Protocol
  • b) Syntax
  • c) Methodology
  • d) Regulation

Answer: Syntax

 

Question: A syntactically correct program is one that can be successfully_________or interpreted

  • a) Compiled
  • b) Understood
  • c) Executed
  • d) Put together

Answer: Compiled

 

Question: In a Java program, text in__________bracket is used as a placeholder that describes something actual we need to type while writing actual program

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

Answer: Angle

 

Question: Which of the following is an Angle bracket

  • a) <>
  • b) { }
  • c) ( )
  • d) [ ]

Answer: <>

 

Question: As Java is an object-oriented language. Everything is defined as part of_______

  • a) Program
  • b) Procedure
  • c) List
  • d) Class

Answer: Class

 

Question: The definition of the method (function) in Java consists of function header and the sequence of statements enclosed between braces________

  • a) <>
  • b) { }
  • c) ( )
  • d) [ ]

Answer: { }

 

Question: A method in Java program cannot exist by itself. It has to be a part of a___________

  • a) Program
  • b) Procedure
  • c) List
  • d) Class

Answer: Class

 

Question: Based on the structure of a Java program_____________in the first line is the name of the class having main method in it

  • a) Class-name
  • b) Public
  • c) Class
  • d) Name

Answer: class-name

 

Question: Class file, CallCost.class, contains the translation of the program into Java____________which can be executed by a Java interpreter

  • a) bytes
  • b) binary number
  • c) bytecode
  • d) byte

Answer: bytecode

 

Question: If the name of the class is CallCost, then the program should conventionally be saved in a Java source file with a name__________

  • a) CallCost.class
  • b) CallCost.java
  • c) callcost.java
  • d) CallCost

Answer: CallCost.java

 

Question: When this file is compiled, another file named_____________is generated

  • a) CallCost.class
  • b) CallCost.java
  • c) callcost.java
  • d) CallCost

Answer: CallCost.class

 

Question: Variable and method declaration after and before___________method is optional

  • a) main{}
  • b) string[]
  • c) string[] args
  • d) main()

Answer: main()

 

Question: Each program must have one______that contains public method main()

  • a) Program
  • b) Procedure
  • c) List
  • d) Class

Answer: Class

 

Question: The entire Java program can be written together on single line but_________is important to make it more readable

  • a) Display
  • b) Layout
  • c) Plan
  • d) Design

Answer: Layout

 

Question: Java is a______format language.

  • a) Free
  • b) Busy
  • c) Object
  • d) Class

Answer: Free

 

Question: The entire Java program can be written together on single line but______is important to make it more readable.

  • a) Display
  • b) Layout
  • c) Plan
  • d) Design

Answer: Layout

 

Question: A program can contain other methods besides_______as well as other variables.

  • a) Main()
  • b) String[]
  • c) string[] args
  • d) main()

Answer: main()

 

Question: Which of the following are the basic java statements used within a method definition such as main()?

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

Answer: All of these

 

Question: Which of the following are the basic Java statements used within a method definition such as main() ?

  • a) Comments
  • b) Java statements and expressions
  • c) Arithmetic operators
  • d) All of these

Answer: All of these

 

Question: Which of the following are the basic java statements used within a method definition such as main() ?

  • a) Comparisons
  • b) Logical operators
  • c) Both (A) and (B)
  • d) None of these

Answer: Both (A) and (B)

 

Question: _______determines the required memory size, type of values, range of values and type of operations that can be performed.

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

Answer: Data Types

 

Question: Java supports______primitive data types that handle common types for integers, floating point numbers, characters and Boolean values (true or false).

  • a) Seven
  • b) Eight
  • c) Nine
  • d) Ten

Answer: Eight

 

Question: The primitive______are named byte, short, int, long, float, double, char, Boolean.

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

Answer: Data types

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 B
CBSE Class 12 Computer Science File Handling MCQs Set A
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 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 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 D
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
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 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 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

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

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

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

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

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

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

×
Studies Today