Objective Questions of Data Structure with Answer set-6

1. .......................... is a variable that can hold the address of the variables, structure and functions that are used in the program.A) ArrayB) PointerC) StructureD) None of the above2. .................. is the organization of the data in a computers memory or in a file.A) ArrayB) Data StructureC) Data ManagementD) Data Organization3. Which of the following is/are the advantages of using an array?i) Multi huge quantity of data items can be stored.ii) Arrays saves the memory spaceiii) Arrays helps to arrange the data items in particular order.iv) Data item searching is faster.A) i, ii and iii onlyB) ii, iii and iv onlyC) i, iii and iv onlyD) All i, ii, iii and iv 4. Some examples of data structures arei) arrayii) stackiii) queueiv) binary treev) hybrid treeA) i, ii, iii and iv onlyB)...

MCQ on Core Java with Answers set-1

1. Which exception is thrown by the read( ) method of input stream class?A) ExceptionB) ClassNotFoundExceptionC) read ExceptionD) IOException2. What garbage collection in the context of java?A) The operating system periodically deletes all of the java files available on the system.B) Any package imported in a program and not used in automatically deleted.C) When all references to an object are gone, the memory used by the object is automatically reclaimed.D) The JVM checks the output of any Java program and deletes anything that doesn't make sense.3. In order for a source code file, containing the public class test, to successfully compile, which of the following must be true?A) It must have a package statementB) It must be named test.javaC) It must import java.langD) It must declare a public...

MCQ on Java Programming Language Fundamental set-12

1. A java program is first ................ and ...................A) executed, runB) compiled, runC) run, compiledD) interpreted, compiled2. Byte code is also a ...........A) machine codeB) bit codeC) cryptographic codeD) none3. A private class is accessible from inside a .................A) packageB) classC) methodD) none4. Consider the statement "x=(a>b)?a:b", then the value of x is 19, if a=19 and b=12A) trueB) not supported C) falseD) none of the above5. Adapter classes are used for ...............A) code redundancy B) code reductionC) code organizationD) none6. ..................... inheritance is enable by interface in java.A) min levelB) multipleC) low levelD) none7. .................... is generated if a button is clicked in AWT.A) ItemEventB) WindowEventC) ActionEventD) MouseEvent8....

MCQ on Basic SQL Queries with Answers set-1

1. DML is provided for A) Description of logical structure of databaseB) Addition of new structure in the database system.C) Manipulation & processing of databaseD) Definition of physical structure of database system2.'AS' clause is used in SQL for A) Selection operationB) Rename Operation C) Join operationD) Projection Operation3. Count function in SQL returns the number of A) valuesB) distinct valuesC) groupsD) columns4. The statement in SQL which allows to change the definition of a table is A) AlterB) UpdateC) CteateD) Select5. Which of the following is correct.A) A SQL query automatically eliminates duplicatesB) SQL permits attribute names to be repeated in the same relationC) A SQL query will not work if there are no indexes on the relationsD) None of the above6. Which of the following...

Solved MCQ on Database Normalization set-1

1. A ..................... specifies the actions needed to remove the drawbacks in the current design of database.A) 1 NFB) 2 NFC) 3 NFD) Normal form2. A relation is in ........................... if an attribute of a composite key is dependent on an attribute of other composite key.A) 2NFB) 3NFC) BCNFD) 1NF3. Fifth Normal form is concerned withA) Functional dependencyB) Multivalued dependencyC) Join dependencyD) Domain key4. A table is in the ....................... if only candidate keys are the determinants.A) functional dependencyB) transitive dependencyC) 4 NFD) BCNF5. In 2NFA) No functional dependencies exist.B) No multivalued dependencies exist.C) No partial functional dependencies existD) No partial multivalued dependencies exist.6. The normal form that is not necessarily dependency...

Solved MCQ on C++ Programming Language set-7

1. What is required in inheritance to initialize the data members of the base class through derived class?A) Object declarationB) DestructorC) ConstructorD) Inheritance2. In which case is it mandatory to provide a destructor in a class?A) Almost in every classB) Class for which two or more than two objects will be createdC) Class for which copy constructor is definedD) Class whose objects will be created dynamically3. Which of the statements is true in a protected derivation of a derived class from a base class?A) Private members of the base class become protected members of the derived classB) Protected members of the base class become public members of the derived class C) Public members of the base class become protected members of the derived classD) Protected derivation does not affect...

objective type questions in c programming language set-6

1. Which symbol is used as a statement terminator in C? A) !B) ~C) #D) ;2. If the size of the array is less than the number of initializes then, ..........A) extra values are being ignoredB) generates an error messageC) size of array is increasedD) size is neglected when values are given3. In C, if you pass an array as an argument to a function, what actually gets passed?A) Value of elements in arrayB) First element of the arrayC) Base address of the arrayD) Address of the last element of array4. How many times the following loop be executed? { .. ch='b'; while (ch>='a' && ch<=='z') ch++; }A) 0B) 25C) 26D) 15. If a=8 and b=15 then the statement x=(a>b) ? a:b;A) assigns a value 8 to xB) gives an error messageC) assigns a value 15 to xD) assigns a value 7 to x6. What...

Solved MCQ on C Programming Language set-5

1. What will be output of the following C program? #include int main() {int goto=5; printf("%d",goto); return 0;}A) 5B) 10C) **D) compilation error2. Output of the following C program fragment is. x=5; y=x++; printf("%d %d", x,y);A) 5, 6B) 5, 5C) 6, 5D) 6, 63. What will be output of the following C program? #include int xyz=10; int main() { int xyz=20; printf("%d", xyz); return 0;}A) 10B) 20C) 30D) compilation error 4. Following program fragment. main(){ printf("%p\n", main( ) ); }A) Prints the address of main functionB) Prints 0C) Is an errorD) In an infinite loop5. What will be output of the following program? #include int main() {int a=2, b=7, c=10; c=a==b; printf("%d",c); return 0;}A) 0B) 7C) 10 D) 26. What is the output of the following program segment? main( ) { long i=65536; printf("%d\n",...

MCQ on C Programming With Answers set-4

1. 'C' is often called a ....A) Object oriented languageB) High level languageC) Assembly languageD) Machine level language2. Each C preprocessor directive begins with ....A) #B) includeC) main()D) {3. C allows arrays of greater than two dimensions, who will determine this?A) programmerB) compilerC) parameterD) None of the above4. The << operator is used forA) Right shifting B) Left shiftingC) Bitwise shiftingD) Bitwise complement5. Set of values of the same type, which have a single name followed by an index is calledA) functionB) structureC) arrayD) union6. Which of the following header file is required for strcpy() function?A) String.hB) Strings.hC) file.hD) strcpy()7. scanf() can be used for reading ...A) double characterB) single characterC) multiple charactersD) no character8....

Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
Cheap Web Hosting