0% found this document useful (0 votes)
11 views

12th std computer mcq booklet

GSEB 12TH commerce computer mcq booklet

Uploaded by

sayonijain1234
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views

12th std computer mcq booklet

GSEB 12TH commerce computer mcq booklet

Uploaded by

sayonijain1234
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

1) Basic variable can store only one value. Such variable is known as __________ .

a) Constant variable c) Modular variable


b) Scalar variable d) (A) or (B)

2) What is index position in Array?

a) Each element of an array c) Value of each element array variable


b) Sequence of an array d) None of these

3) How many steps are there to create an array?

a) 2 c) 4
b) 3 d) 5

4) _________ bracket is used to declare 1-D array .

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

5) __________ syntax is not true for declaring marks array. .

a) Int marks [ ] = { 90, 70 , 77} c) Int [3] marks = { 90, 70 , 77}


b) Int [ ] marks = { 90, 70 , 77} d) All of these

6) __________ class method is used to display the value of array elements.

a) Println() c) printf()
b) display() d) displayed()

7) Which class method is given when array is used in java?

a) Using private static c) Using Protect static


b) Using public static d) This is not possible

8) Which method is used to find the particular element in array?

a) Binarysearch() method c) Display method()


b) Binaryfind() method d) Search() method

9) To change the elements with some other values, ___________ method can be used.

a) fill c) sort
b) list d) full

10) How is the data stored in 2-D array?

a) In the form of row and column c) (A) and (B) both


b) In a tabular form d) (A) or (B)

11) What is the meaning of ‘array within array’ in java?

a) 1-D array c) infinite


b) 2-D array d) multi
12) _____________ is a variable representing a collection of homogeneous type of elements.

a) Arrangement c) Array
b) Assorment d) Group
13) Instead of declaring individual variable like marks1, marks2, marks3, marks4, marks5; one can declare
array_____________.

a) Marks[1], marks[2], marks[3], c) Marks[-1], marks[1], marks[2],


marks[4], marks[5] marks[3], marks[4]
b) Marks[0], marks[1], marks[2], d) Marks[-1], marks[0], marks[1],
marks[3], marks[4] marks[2], marks[2]

14) Java library also provides ________ class in java.utill package.

a) data c) time
b) string d) date

15) Method getTime() returns ____________ data type.

a) long c) void
b) String d) date

16) What is the full form of GMT?

a) Greenwich Median Time c) Greenwich Mode Time


b) Greenwich Modern Time d) Greenwich Mean Time

17) 1-D array of ____________ can be considered as a string?

a) Spaces c) characters
b) Group d) column

18) Arrays are passed to a function an argument by ____________.

a) Value c) Both
b) Reference d) None of these

19) What does ‘length’ refer to for an object of string class?

a) attribute c) class variable


b) method d) class name

20) Which of the following refer to the starting index value in arrays?

a) 0 c) null
b) 1 d) All of these

21) Which of the following refers to an error condition in object-oriented programming terminology?

a) anomaly c) deviation
b) exception d) abbreviation

22) Which of the following statements is true?

a) Exceptions are more serious than c) Exceptions and Errors are equally
Errors serious
b) Errors are more serious than d) Exceptions and Errors are the same
Exceptions thing

23) Which of the following block handles or takes appropriate action when an exception occurs?
a) try c) catch
b) throws d) handles

24) Which of the following methods can throw an Exception?

a) Methods with throw clause c) Methods with catch block


b) Methods with a try block d) Methods with finally block

25) Which of the following is used as a separator between fields of a record?

a) Path c) Variable
b) Delimiter d) Space

26) Which of the following refers to a collection of data stored on a nonvolatile device in a computer system?

a) file c) volatile data


b) application d) hard-disk

27) Scanner class can be used to for performing which of the following operations?

a) accept input from the keyboard c) Read from the file


b) parse a string separated by delimiters d) All of the above

28) Which of the following statement is true?

a) Volatile storage lasts only a few c) Computer disks are volatile storage
seconds devices
b) Volatile storage is lost when a d) All of these
computer is shutdown.

29) Which of the following elements is not included in try block?

a) the keyword try


b) the curly braces
c) the keyword catch
d) statements that might cause Exception

30) Which of the following is a feature-rich media player?

a) VAC c) VLC
b) VEC d) VNC

31) Which technology gives our location with accuracy?

a) GRS c) GRPS
b) GPRS d) GPS

32) What is the fullform of tar?

a) tape archiver c) teach archiver


b) test archiver d) tight archiver

33) Which of the following refers to a file that has an entire directory structure inside it?

a) apache c) archi
b) archie d) archive
34) What is the full form of VLC?

a) Video LAN Card c) Video Line Card


b) Video LAN Client d) Video List Creater

35) Which function is used to create a bar graph in R?

a) bar() c) bargraph()
b) plot() d) barplot()

36) Which of the following are different variants of Relational Plan?

a) Single,Multi,Viewer c) View, Preview


b) Single, Multiple d) Server Client

37) For which types of archives is the password protection option available?

a) zip c) tar.gz
b) tar d) both tar.gz and zip

38) Which program is used to enter Unicode characters into any application?

a) Character Display c) Character Select


b) Character Map d) Character Insert

39) Which of the following begins with \begin{name} and ends with \end{name}?

a) Group c) Environment
b) Session d) Preamble

40) Which of the following web site hosts the Latex package?

a) CTAN c) CTEN
b) CLAN d) CLEN

You might also like