Nested Switch | Java Solved

Nested Switch | Java Solved /* Statements Example This example shows how to use nested switch statements in a java program. */ public class NestedSwitchExample { public static void main(String[] args) { /* * Like any other Java statements, switch statements * can also be …

Palindrome Number | Java Solved

Palindrome Number | Java Solved Palindrome Number /* This program shows how to check for in the given list of numbers whether each number is palindrome or not */ public class JavaPalindromeNumberExample { public static void main(String[] args) { //array of numbers to be checked …

Fibonacci Series | Java Solved

Fibonacci Series | Java Solved /* Fibonacci Series Java Example This Fibonacci Series Java Example shows how to create and print Fibonacci Series using Java. */ public class JavaFibonacciSeriesExample { public static void main(String[] args) { //number of elements to generate in a series int …

Object Oriented Programming Questions & Answers | OOP | MCQ

Object Oriented Programming | OOP | MCQ Q 1. What is the output of the following StringBuffer sb1 = new StringBuffer(“Amit”); StringBuffer sb2= new StringBuffer(“Amit”); String ss1 = “Amit”; System.out.println(sb1==sb2); System.out.println(sb1.equals(sb2)); System.out.println(sb1.equals(ss1)); System.out.println(“Poddar”.substring(3)); Ans: a) false false false dar b) false true false Poddar c) …

Object Oriented Programming Questions & Answers | OOP | MCQ

Object Oriented Programming | OOP | MCQ Software consists of programs, or sets of instructions, that tell the computer to perform certain processing functions. System software is the collection of software that controls the basic functions of the computer. That is, it coordinates the interaction …

Advanced Programming Technique Questions & Answers | APT | MCQ

Advanced Programming Technique | APT | MCQ When the package body only changed then all other objects in body are invalidated no objects invalidated only the sand alone procedure that calling the object get invalidated head is invalidated Ans: (a) class A { final int …

Computer Organisation and Architecture Questions & Answers | COA | MCQ

Levels in a Computer System,Parts of a Microprocessor , Conventions, Error Correcting codes, Assembly Language Questions 1. The fundamental conceptual unit in a computer is: a. CPU b. Hard Drive c. Operating System d. Transistor 2. In a 8086/8088 Microprocessor, the unit responsible for getting …

Computer Organisation and Architecture Questions & Answers | COA | MCQ

Computer Organisation and Architecture | COA | MCQ Chapter 2: Multiple Choice Questions: 1. What number system was used in the ENIAC machine? A. Binary B. Decimal C. Octal D. Hexadecimal ANS: B 2. The Memory Address register stores the address of the word stored …

Computer Organisation and Architecture Questions & Answers | COA | MCQ

Computer Organisation and Architecture | COA | MCQ   If a computer on the network shares resources for others to use, it is called ____ a. Server b. Client c. Mainframe2. Terminators are used in ______ topology. a. Bus b. Star 3. In _____ topology, …

Computer Organisation and Architecture Questions & Answers | COA | MCQ

Computer Organisation and Architecture | COA | MCQ Question 1: Where does a computer add and compare data? Hard disk Floppy disk CPU chip Memory chip Question 2: Which of the following registers is used to keep track of address of the memory location where …

Computer Organisation and Architecture Questions & Answers | COA | MCQ

Computer Organisation and Architecture | COA | MCQ Question 1: Processors of all computers, whether micro, mini or mainframe must have ALU Primary Storage Control unit All of above Question 2: What is the control unit’s function in the CPU? To transfer data to primary …

Computer Organisation and Architecture Questions & Answers | COA | MCQ

Computer Organisation and Architecture | COA | MCQ 1.Which of the following devices can be sued to directly image printed text? a. OCR b. OMR c. MICR d. All of above ________________________________________ 2. The output quality of a printer is measured by a. Dot per …

Computer Organisation and Architecture Questions & Answers | COA | MCQ

Computer Organisation and Architecture | COA | MCQ Set – 2 ________________________________________ 1. EBCDIC stands for a. Extended Binary Coded Decimal Interchange Code b. Extended Bit Code Decimal Interchange Code c. Extended Bit Case Decimal Interchange Code d. Extended Binary Case Decimal Interchange Code ________________________________________ …