Most Important MCQs for Class 12 GSEB: A Detailed Guide , Part -3

12 MOST IMP MCQS

1) What is useful when the same operations are to be performed on various elements of the similar type in Java? [CH – 9]

  • (A) Array
  • (B) String
  • (C) If …… then
  • (D) While

2) Which of the following software are examples of open-source IDEs? [CH – 1]

  • (A) KompoZer
  • (B) Eclipse
  • (C) JBuilder
  • (D) All of the above

3) Which of the following methods sends the data as a block through the HTTP transaction? [CH – 1]

  • (A) GET
  • (B) POST
  • (C) FTP
  • (D) HTTPS

4) Which of the following allows specifying styles for the visual elements of the website? [CH – 2]

  • (A) Cascading Style Sheets
  • (B) Web Page
  • (C) Animation
  • (D) Form

5) Which of the following option Aptana Studio provides a complete web development environment for language support? [CH – 3]

  • (A) HTML
  • (B) CSS
  • (C) PHP
  • (D) All of the above

6) What sign is used for creating API documentation from the code? [CH – 7]

  • (A) //
  • (B) /…../
  • (C) /*…../
  • (D) \

7) By using which method of file output stream classes writes b length bytes from the specified byte array in Java? [CH – 11]

  • (A) void write (int b)
  • (B) void write (byte | | b)
  • (C) void write (int length)
  • (D) void write (byte length)

8) Which method of Java class is used if we want to allow other methods to modify the data value? [CH – 8]

  • (A) Set or Setter
  • (B) Get or Getter
  • (C) Both (A) and (B)
  • (D) String []

9) In Java, which method is used to fill the whole or partial array with a specified value? [CH – 9]

  • (A) Fill
  • (B) Sort
  • (C) Set
  • (D) Insert value

10) Which of the following is not a visibility sign in the class diagram? [CH – 6]

  • (A) –
  • (B) *
  • (C) #
  • (D) – (Dash)

11) Which of the following is part of the object-oriented class diagram? [CH – 6]

  • (A) Data Encapsulation
  • (B) Data Abstraction
  • (C) Polymorphism
  • (D) All of the above

12) In object-oriented methodology, the focus is on which of the following entities? [CH – 6]

  • (A) Data
  • (B) Functions
  • (C) Objects
  • (D) All of the above

13) What is called when all browsers are split into different parts or objects that can be accessed using JavaScript? [CH – 2]

  • (A) Browser Object Model
  • (B) Browser Object Menu
  • (C) Browser Oriented Model
  • (D) Browser Oriented Menu

14) Which of the following is a famous website for online auctions? [CH – 4]

  • (A) www.ebay.com
  • (B) www.mybids.in
  • (C) www.ubid.com
  • (D) All of the above

15) An inheritance model refers to which of the following relationships? [CH – 6]

  • (A) ‘is-a’ relationship
  • (B) ‘has-a’ relationship
  • (C) ‘a-part-of’ relationship
  • (D) All of the above

16) What enables the representation and protection of data in which the implementation details are hidden? [CH – 6]

  • (A) Data Encapsulation
  • (B) Data Abstraction
  • (C) Both (A) and (B)
  • (D) Message

17) Which of the following reserved characters is used in LaTeX? [CH – 12]

  • (A) %
  • (B) @
  • (C) ABC
  • (D) 123

18) Which of the following software gives permission to make different projects, analyzes all project data, and creates a project portfolio view? [CH – 13]

  • (A) Rational Plan
  • (B) Barplot
  • (C) Chart
  • (D) Grapha

19) In Exception handling in Java, which is the syntax of the try block? [CH – 10]

  • (A) try { // set of statements }
  • (B) try [ // set of statements ]
  • (C) try < // set of statements >
  • (D) try ( // set of statements )

20) In M-Commerce, which of the following starting addresses indicates that the site is secured by SSL protocol? [CH – 5]

  • (A) http://
  • (B) ssl://
  • (C) https://
  • (D) https-ssl://

21) Which of the following begins with \begin {name} and ends with \end {name} in LaTeX? [CH – 12]

  • (A) group
  • (B) section
  • (C) environment
  • (D) preamble

22) Which command is used to quit from R? [CH – 13]

  • (A) quit()
  • (B) q()
  • (C) exit()
  • (D) close()

23) Which of the following E-Commerce business models refers to activities between different business partners? [CH – 4]

  • (A) G2B
  • (B) C2B
  • (C) B2B
  • (D) B2C

24) Which of the following is not a limitation of M-Commerce? [CH – 5]

  • (A) Mobile devices have limited computing power, memory, and storage capacity.
  • (B) M-Commerce operates over wireless networks.
  • (C) High cost of establishing mobile and wireless broadband infrastructure.
  • (D) Mobile devices enable the user to be contacted virtually anytime, anywhere.

25) Which of the following blocks contains the code that is intended to handle exceptions of a particular type that were created in the associated try block in Java Exception handling? [CH – 10]

  • (A) finally
  • (B) start
  • (C) catch
  • (D) stop

26) Which of the following refers to a collection of data stored on a non-volatile device in a computer system? [CH – 11]

  • (A) File
  • (B) Application
  • (C) Volatile data
  • (D) Hard-Disk

27) Which aspect in M-Commerce security ensures that the information must not be accidentally or maliciously altered or tampered with in transit? [CH – 5]

  • (A) Confidentiality
  • (B) Integrity
  • (C) Authorization
  • (D) Non-repudiation

28) In Java, which of the following looping methods is exit-controlled? [CH – 7]

  • (A) For
  • (B) While
  • (C) do…..while
  • (D) if…..then….else

29) To make a string object, which of the following constructors is used to create a string object using a 1-D array argument starting at an index [start] with the length [len] of characters? [CH – 9]

  • (A) String(char array[], int start, int len)
  • (B) String(int start, int length)
  • (C) String(int length, int len)
  • (D) String(char array[], int len)

30) Which menu option is used to add an input text field in the form field properties dialog box? [CH – 1]

  • (A) Format → Form → Form Field
  • (B) View → Form Field
  • (C) Insert → Form → Form Field
  • (D) Table → Form → Field Form

31) Which of the methods of the string class returns an array of characters as bytes from invoking a string in Java? [CH – 9]

  • (A) int length()
  • (B) byte[] getBytes()
  • (C) int bytes[]
  • (D) getBytes[]

32) What type of value is returned when we use get method of calendar class with constant DAY_OF_WEEK as an argument in Java? [CH – 9]

  • (A) int
  • (B) char
  • (C) string
  • (D) boolean

33) Which of the following elements allows multi-line text input in HTML KompoZer form? [CH – 1]

  • (A) Textarea
  • (B) Multiline
  • (C) Insert Row
  • (D) Insert Column

34) How can we separate the product name, price, quantity, and amount save as string in variable? [CH – 3]

  • (A) Colon
  • (B) Semi Colon
  • (C) Comma
  • (D) Full dot

35) Which method of scanner class of Java scans the next token of the input as line? [CH – 11]

  • (A) boolean hasNext()
  • (B) int nextInt()
  • (C) float nextFloat()
  • (D) string nextLine()

36) Which work can be done in file or directory in Java file class? [CH – 11]

  • (A) Create
  • (B) Rename
  • (C) Delete
  • (D) All of the above

37) Which of the following is a collection of interlinked web pages? [CH – 3]

  • (A) Web Page
  • (B) Form
  • (C) KompoZer
  • (D) Website

38) In Java, which of the following is not allowed as first character in valid variable name? [CH – 7]

  • (A) Underscore
  • (B) Digit
  • (C) Letter
  • (D) Dollar

39) Which of the following statements indicates the method in Java Script? [CH – 2]

  • (A) document.write(“Hello Students”)
  • (B) write
  • (C) Hello Students
  • (D) (“Hello Students”)

40) How can you identify this facility in E-Commerce when software vendors (seller) also allow their licensed customers to download the recent update of the software? [CH – 4]

  • (A) Information Services
  • (B) Support Services
  • (C) Online Services
  • (D) Online Support Services

41) How is the general syntax of CSS defined? [CH – 2]

  • (A) Selector {Property : Value}
  • (B) Selector {Property : Value .}
  • (C) Selector (Value : Property)
  • (D) Selector

42) In Java, by using which sign 1-D array is initialized to separate values of data elements in braces {}? [CH – 9]

  • (A) Full stop
  • (B) Colon
  • (C) Semi colon
  • (D) Comma

43) What is another kind of Blue Griffon HTML editor in open source? [CH – 3]

  • (A) WYSIWYG
  • (B) GWYSIWY
  • (C) YSIWYG
  • (D) IIWGYW

44) Which attributes are used to indicate the field, specify default value in HTML? [CH – 1]

  • (A) type
  • (B) name
  • (C) value
  • (D) All of the above

45) In Java class, from the following which keyword is used to call the constructor of super class in the constructor of sub class? [CH – 8]

  • (A) extends
  • (B) super
  • (C) name of the super class
  • (D) new

46) In Java, which method is invoked automatically with creation of an object? [CH – 8]

  • (A) Instance method
  • (B) Constructor
  • (C) Class method
  • (D) All of the above

47) By using which option in table properties dialog box a title is given in KompoZer? [CH – 3]

  • (A) Table Handling
  • (B) Caption
  • (C) Table Name
  • (D) Create Table Name

48) How does the Constructor differ from general method in Java? [CH – 8]

  • (A) Constructor must have the same name as class name.
  • (B) Constructor does not have return type.
  • (C) Constructor cannot be invoked explicitly elsewhere in the program.
  • (D) All of the above

49) Which of the command is used from the following to write Sans Serif fonts in LaTeX? [CH – 12]

  • (A) \texttm {text}
  • (B) \textsf {text}
  • (C) \texttt {text}
  • (D) \text senerif {text}

50) What is known as when programmes written in Java are compiled into machine language for a computer? [CH – 7]

  • (A) Java Visuable Machine
  • (B) Java Virtual Machine
  • (C) Java View Modifier
  • (D) Java Visuable Modifier

Leave a Reply

Your email address will not be published. Required fields are marked *