Posts

Showing posts from July, 2013

Solved MCQ of Java Beans set-1

1. Java Servlets are efficient and powerful solution for creating ....................... for the web. A) dynamic content B) static content C) hardware D) both and b 2. Filters were officially introduced in the servlet ........................ specification. A) 2.1 B) 2.3 C) 2.2 D) 2.4 3. ..................... is the first phase of the servlet life cycle. A) Initialization B) Service C) Destruction D) Both a and b 4. The service phase of the servlet life cycle represents all interactions with requests until the servlet is ...................... A) created B) running C) initiated D) destroyed 5. GET methods are great for sending .................... amounts of information that you do not mind having visible in a URL. A) negligible B) huge C) small D) both and b 6. Several vendors are adding ...................... to their existing database ................. A) JDOBC, middle-ware products B) JDBC drivers , upper-ware products C) middle-ware products, JDOBC drivers D) JDBC drivers, middl...

Solved MCQ of Internet and HTML set-3

1. ................ are the physical meeting points of backbones. A) Gateways B) Pathways C) Routers D) Domains 2. WSFTP is an example of ........................... program. A) FTP B) Telnet C) Web browser D) Mail 3. Which of the following is best suitable for remote administration of a computer? A) Telnet B) WAIS C) Browsers D) HTML 4. The leading bit pattern of class B network is .................. A) 0 B) 10 C) 110 D) 11 5. The ...................... attribute adds space within each cell. A) CELL SPACING B) CELL PADDING C) WIDTH D) ALIGN 6. Which of the following are two popular protocols that allow home computer users to connect their computers to the internet as per hosts? i) SLIP ii) PPP iii) HTTP iv) SMTP A) iii and iv B) ii and iii C) i and ii D) ii and iii 7. A computer that translates ........................ of another computer into an ............... and vice versa, upon request is known as DNS server . A) Domain name an...

Solved MCQ of Computer Organization and Architecture set-2

1. The time that elapses between the initiation of an operation and completion of that operation is called..... A) throughput B) memory response time C) memory access time D) execution time 2. Interrupts which are initiated by an instruction are ............ A) internal B) external C) hardware D) software 3. A semiconductor memory constructed using bipolar transistors or MOS transistor stores information in the form of a ...................... A) Flip-flop voltage levels B) bit C) byte D) opcodes values 4. A simple way of performing I/O tasks is to use a method known as ...................... A) program-controlled I/O B) program-controlled input C) program-controlled output D) I/O operation 5. Memory access in RISC architecture is limited to instructions ........ A) CALL and RET B) PUSH and POP C) STA and LDA D) MOV and JMP 6. Striking key stores the corresponding character code in a 8-bit buffer register associated with the keyboard. This register is called as .........................

List the different types of memory management techniques in OS

In uniprogramming system, main memory is divided into two parts, one pare for the operating system (resident monitor, kernel) and one part for the program currently being executed. In multiprogramming system, the 'user' part of the memory must be further subdivided to accommodate multiple processes. The task of subdivision is carried out dynamically by operating system and is known as memory management . Memory management by OS can be divided into two methods:    # Real Memory Management In real memory management OS operates the space of the main memory only. There are two ways of real memory management. a) Mono Programming System:– Execution of one program at one time. The memory is divided into two parts, one is to save the OS and the other is to save programs. b) Multi Programming System:– Several simultaneous processes can be executed at the same time. Memory space is shared by several processes. To enable it to run a process should be stored into the memory. ...

What are the different types of scheduling methods?

Process scheduling is one way for a processor to handle n processes , by scheduling the execution process. Each process is executed one by one according to prescribed schedule. The aim of processor scheduling is to assign processes to be executed by the processor or processors over time, in a way that meets system objectives, such as response time, throughput and processor efficiency. In many systems, this scheduling activity is broken down into three separate functions: long, medium and short-term scheduling. Types of Scheduling  Long term Scheduling The long term scheduler determines which programs are admitted to the system for processing. Thus, it controls the degree of multiprogramming. Once admitted a job or user program becomes a process and added to the queue for the short term scheduler. In some systems, a newly created process begins in a swapped-out condition, in which case it is added to the queue for the medium term scheduler. Medium term scheduling  Medium te...

Java Multiple Choice Questions With Answers set-8

1. Using which keyword we can access value of the instance variables and class variables of that class inside the method of that class itself. A) super B) final C) this D) either super or this 2. If a variable is declared final, it must include ...................... value. A) integer B) no C) initial D) float 3. State true or false. i) Jpanel is a class included in awt package. ii) Anonymous classes are mostly used for event handling. iii) Names of anonymous classes must be unique iv) JOptionPane is an inner class A) i-false, ii-false, iii-true, iv-true B) i-true, ii-false, iii-true, iv-false C) i-false, ii-true, iii-false, iv-false D) i-true, ii-false, iii-false, iv-true 4. In java, string is a ............. A) primitive data type B) abstract data type C) combination of boolean D) None of the above 5. Methods can be overloaded with a difference only in the type of the return value .. A) Not supported B) False C) True D) None of the above 6. Each method in a java class must have a u...

MCQ of System Analysis and Design With Answer set-6

1. ......................... refers to the collection of information pertinent to systems project. A) Data gathering B) Data Exporting C) Data Embedding D) Data importing 2. A physical DFD A) has no means of showing material flow B) does not concern itself with material flow C) can show only stored material D) can show the flow of material 3. Development costs for a computer based information system include/s ........................ A) Salaries of the system analysis B) Cost of converting and preparing data C) Cost of testing and documenting D) All A, B, C 4. Before developing a logical DFD it is a good idea to A) develop a physical DFD B) develop a system flow chart C) determine the contents of all data stores D) find out user's preferences 5. A data store in a DFD represents A) a sequential file B) a disk store C) a repository of data D) a random access memory 6. Which of the following is/are major step/s of system design? A) Specification of system output B) Development of syst...

How To Create Simple Image Slideshow Using JavaScript ?

Image
We can create attractive and eye catching website by using image slideshows, flash and other designs. There are so many pre-build JavaScript files and jquery plugins can be found on the web, but today i am going to tail about Creating simple and easy to understand code for image slideshow using JavaScript. Code for creating simple image slideshow  Just copy and paste the code below where you want to place slideshow and change the location of the images. <script language="JavaScript"> var i = 0; var path = new Array(); // LIST OF IMAGES path[0] = "image_1.gif"; path[1] = "image_2.gif"; path[2] = "image_3.gif"; function swapImage() { document.slide.src = path[i]; if(i < path.length - 1) i++; else i = 0; setTimeout("swapImage()",3000); } window.onload=swapImage; </script> <img height="200" name="slide" src="image_1.gif" width="400" /> Demo slideshow for the above code ...

Solved MCQ of Oracle and Distributed Database set-4

1. ………………….. is the collection of memory structures and Oracle background processes that operates against an Oracle database . A) Database B) Instance C) Tablespace D) Segment 2. A ………………………… is a logical grouping of database objects, usually to facilitate security, performance, or the availability of database objects such as tables and indexes. A) tablespace B) segments C) extents D) blocks 3. A tablespace is further broken down into ………………… A) tablespace B) segments C) extents D) blocks 4. ……………………….. is a contiguous group of blocks allocated for use as part of a table, index, and so forth. A) tablespace B) segment C) extent D) block 5. ……………… is the smallest unit of allocation in an Oracle database. A) Database B) Instance C) Tablespace D) Database Block 6. An Oracle ………………………..is a set of tables and views that are used as a read-only reference about the database. A) Database dictionary B) Dictionary table C) Data dictionary D) Dictionary 7. A data dictionary is created when a ……...