a programmer prepares a questionnaire with true or false


questioned by administrator @ in Computer Science viewed by 8729 People


Class brush{

private:integer size,rcodefunction getdata() { ... }// Statement 1public:integer name // Statement 2function putdata() { ... }}function main{brush b1,b2print b1.name // Statement 3b2.getdata() //Statement 4}​

Answered by administrator @



} a) n equals 1 (ans) b) n equals 2 c) n>=1 d) n>1 In which of the following situations can a constructor be invoked? a) When an object is created(ans) b) When an object is assigned the value 0 c) Only at the end of the code d) When the scope of the object is over A programmer prepares a questionnaire with “true or false” type of questions. He wants to define a data type that stores the responses of the candidates for the questions. Which of the following is the most suited data type for this purpose? a) Integer b) Boolean(ans) c) Float d) Character A sorting mechanism uses the binary tree concept such that any number in the tree is larger than all the numbers in the sub-tree below it. What is this method called? a) Selection sort b) Insertion sort c) Heap sort (ans) d) Quick sort A programmer mistakenly writes “gor” instead of the keyword “for” used in loops, while writing a program in C++.what will this result in?

a) The code would not compile. (ans) b) The code would give an error while execution. c) The code may work for some inputs and not for the others. d) The code would not create any problem. A programmer writes a sorting algorithm that takes different amount of the time to sort two different lists of equal size. what is the possible difference between the two lists? a) All number in one lists are more than 100 while in the other are less than 100. b) The ordering of numbers with respect to the magnitude in the two lists has different properties.(ans) c) One list has all negative numbers while the other has all positive numbers. d) One list contains 0 as an element while the other does not. Refer to the pseudo code given in the ‘passage’. The code is similar to that in C++ and is self-explanatory. An accessible member function and a data member for an object are accessed by the statements objectname.functionname and objectname.datamembername, respectively. Which statement should be deleted from the code to rectify the error in it? Class brush { Private: Integer size,c rcode function getdata(){…..}//statement 1 public:


Do you know the better answer?

Latest questions in Computer Science

the first fully 64 bit compatible version of android is

Questioned by administrator @ in Computer Science viewed by 187 persons

The first completely 64-bit compatible version of Android - A) Android 5.0 Lollipop B) Android 2.3 Gingerbread C) Android 4.0 Ice Cream Sandwich D) Android 3.0 Honeycomb
View 1 answer

what is the java 8 update of permgen

Questioned by administrator @ in Computer Science viewed by 124 persons

What is the java 8 update of permgen​
View 1 answer

what is maximum zoom percentage in microsoft powerpoint

Questioned by administrator @ in Computer Science viewed by 93 persons

What is the maximum zoom percentage in Microsoft power point​
View 1 answer

computers combine both measuring and counting are called

Questioned by administrator @ in Computer Science viewed by 66 persons

Computers combine both measuring and counting are called
View 1 answer

user security in jenkins can be defined using

Questioned by administrator @ in Computer Science viewed by 57 persons

User security in Jenkins can be defined using : a. Matrix based security b. None of the options c. Both matrix and project based authorization d. Project based matrix authorization
View 1 answer

is designed to help users with auditory impairments

Questioned by administrator @ in Computer Science viewed by 64 persons

Which key is designed to help users with auditory impairments? ​
View 1 answer

a name must be unique within a database

Questioned by administrator @ in Computer Science viewed by 68 persons

A ______ name must be unique within a database? (a) Table(b) Field(c) Attributes(d) Primary key​
View 1 answer

how many keys does a standard keyboard have

Questioned by administrator @ in Computer Science viewed by 58 persons

A standard computer keyboard has how many keys 94,89,104,114
View 1 answer

which feature is needed to make enterprise application

Questioned by administrator @ in Computer Science viewed by 72 persons

Which feature is needed to make enterprise application migrate to private cloud ? A)Ennoblement of application as SaaS B)Elasticity of storage for the application C)Performance benchmark for the application D)Hands-free …
View 1 answer

the html global attribute contenteditable is used to

Questioned by administrator @ in Computer Science viewed by 55 persons

The html global attribute, "contenteditable" is used to:
View 1 answer

what are types of functions in c language

Questioned by administrator @ in Computer Science viewed by 56 persons

What are different types of functions in c language?
View 1 answer

static code analysis is performed in the _____________

Questioned by administrator @ in Computer Science viewed by 54 persons

Static code analysis is performed in the _____________ commit stageacceptance stageunit testwhich one is correct?
View 1 answer

the biggest asset of design thinking is the

Questioned by administrator @ in Computer Science viewed by 73 persons

The biggest asset of design thinking is the __________
View 1 answer

which object is the top of the hierarchy

Questioned by administrator @ in Computer Science viewed by 55 persons

Which object is the top of the hierarchy? A.Window Object B.Document Object C.Form Object D.Form Control Elements
View 1 answer

which of the following is not a database

Questioned by administrator @ in Computer Science viewed by 54 persons

Which one of the following is not a database? (a) MySQL (b) Base (c) SQL Server (d) Spreadsheet
View 1 answer

Most viewed questions in Computer Science


a programmer prepares a questionnaire with true or false

Questioned by administrator @ in Computer Science viewed by 8729 persons


played a vital role in the evolution of sdn

Questioned by administrator @ in Computer Science viewed by 743 persons


the apparent limitation with surveys and questionnaires is

Questioned by administrator @ in Computer Science viewed by 628 persons



in windows explorer ctrl j performs which operation mcq

Questioned by administrator @ in Computer Science viewed by 532 persons


cpu efficiency is very less in case of

Questioned by administrator @ in Computer Science viewed by 385 persons


objective of unsupervised data covers all these aspect except

Questioned by administrator @ in Computer Science viewed by 362 persons



a beautiful visual design can compensate flaws in usability

Questioned by administrator @ in Computer Science viewed by 359 persons


________ aid a business grow and attain its objectives

Questioned by administrator @ in Computer Science viewed by 357 persons


when included with list suppress record number display

Questioned by administrator @ in Computer Science viewed by 335 persons



feature toggle can be used in the following scenarios

Questioned by administrator @ in Computer Science viewed by 293 persons


in windows explorer ctrl j performs which operation

Questioned by administrator @ in Computer Science viewed by 263 persons


identify the non iot device from the given options

Questioned by administrator @ in Computer Science viewed by 222 persons



to open word processor window menu option is selected

Questioned by administrator @ in Computer Science viewed by 201 persons


the first fully 64 bit compatible version of android is

Questioned by administrator @ in Computer Science viewed by 187 persons


paper prototyping is hard to create modify and animate

Questioned by administrator @ in Computer Science viewed by 155 persons