Question: What type of connection is made between a high-speed, high-bandwidth device and the CPU?

Choices:
- Expansion bus connection
- PCI bus connection
- SCSI bus connection
- None of the above


Question: Which method is used to check if a string starts with a specific substring?

Choices:
- a. startsWith()
- b. beginsWith()
- c. start()
- d. initiate()


Question: Which method is used to convert a string to an array of words based on space as a separator?

Choices:
- a. split()
- b. toArray()
- c. words()
- d. split(' ')


Question: What are some common Git events that can trigger a hook?

Choices:
- Committing changes, pushing to a remote repository, and pulling from a remote repository.
- Creating and deleting branches, tagging a commit, and merging branches.
- Installing Git, setting up a repository, and cloning a repository.
- Creating and resolving merge conflicts, submitting pull requests, and reviewing code.


Question: What is a Docker Compose file?

Choices:
- A file that contains instructions for building multiple Docker images.
- A file that contains instructions for running multiple Docker containers.
- A file that contains the configuration for multiple Docker networks.
- A file that contains the configuration for multiple Docker volumes.


Question: What are some common instructions used in a Dockerfile

Choices:
- BUILD, RUN, COPY, and ENTRYPOINT.
- CREATE, START, COPY, and ENTRYPOINT
- FROM, RUN, COPY, and ENTRYPOINT
- INCLUDE, RUN, COPY, and ENTRYPOINT


Question: How are containers in a pod managed by Kubernetes?

Choices:
- They are treated as separate entities and can be managed individually.
- They are treated as a single entity and must be managed together.
- They are treated as a single entity but can be managed individually if desired.
- They are treated as separate entities but can be managed together if desired.


Question: What are some best practices for creating and managing Kubernetes pods?

Choices:
- Using a single container per pod, using a shared volume for data storage, and using environment variables for configuration.
- Using multiple containers per pod, using a shared network for communication, and using labels for organization.
- Using a single container per pod, using a shared network for communication, and using configuration files for configuration.
- Using multiple containers per pod, using a shared volume for data storage, and using command-line arguments for configuration.


Question: What is the recommended way to configure Terraform?

Choices:
- By modifying the Terraform configuration files directly.
- By using the "terraform" command in the command line.
- By using environment variables.
- By using the Terraform CLI options.


Question: Which method is used to check if a string ends with a specific substring?

Choices:
- a. endsWith()
- b. finishWith()
- c. end()
- d. terminate()


Question: The magnetic disk's heads are connected to which device that moves each head individually.

Choices:
- spindle
- disk arm
- track
- none of the mentioned


Question: The total number of bytes transferred divided by the total time between the first request for service and the completion on the last transfer is known as

Choices:
- Disk Bandwidth
- Disk Range
- Disk Frequency
- Disk Amplitude


Question: Block-interleaved distributed parity is the characteristic of which of the following RAID levels

Choices:
- Raid Level 1
- Raid Level 2
- Raid Level 6
- Raid Level 5


Question: Local Descriptor table is present in which of the following

Choices:
- Global Descriptor table
- Local Descriptor table register
- Cache
- None of the above.


Question: Which of the following is true about contiguous memory allocation

Choices:
- each process is contained in a single contiguous section of memory
- all processes are contained in a single contiguous section of memory
- the memory space is contiguous
- The memory space is allocated randomly


Question: Which of the following is the use case of heap?

Choices:
- Memory is allocated in Heap during dynamic memory allocation
- Memory is allocated in Heap during static memory allocation
- Registers are stored in section of heap
- None of the above


Question: Which process status corresponded to the phrase "The process is waiting to be assigned to a processor"?

Choices:
- New
- Running
- Completed
- Ready


Question: Which statement should be used to remove every row from a table without having the operation recorded?

Choices:
- DELETE
- REMOVE
- DROP
- TRUNCATE


Question: Which of the following is used to reduce the access time of memory

Choices:
- RAM
- Heap
- Cache
- Higher capacity RAM


Question: Parser is used to verify which of the following

Choices:
- Semantcis of the user Query
- Logic of the User Query
- Syntax of the User Query
- All of the above


Question: What does EEPROM stands for?

Choices:
- Electrically Erasable and Programmable Read-Only Memory
- Electronically Erasable and Programmable Read-Only Memory
- Electrically Enabled and Programmable Read-Only Memory
- None of the above


Question: Hashing function is used to locate the root in which of the following

Choices:
- Quantum Database
- Hierarchical Database
- Network Database
- Object oriented database


Question: What does SMTP stands for

Choices:
- Simple Mail Transfer Protocol.
- Simple Mail Transfer Process.
- Single Mail Transfer Process.
- Single Mail Transfer Protocol.


Question: What is the port number for SMTP

Choices:
- 125
- 143
- 25
- 110


Question: Application level gateway is also known as

Choices:
- Proxy tools
- Proxy Server
- Application Proxy
- All of the above


Question: IPX stands for

Choices:
- Internetwork Packet Exchange
- Internetwork Process Exchange
- Internal Process Exchange
- Internal Packet Exchange


Question: Which of the following is the function of Session Layer in OSI reference model

Choices:
- Synchronisation
- Flow Control
- Error Control
- All of the above


Question: Maximum number of Primary Keys a table can have

Choices:
- 2
- 3
- 1
- 4


Question: Can we make a folder in Windows with the same name?

Choices:
- Yes
- No


Question: In Paging mechanism the address of page table is referred by

Choices:
- Page Table Register
- Segment table Register
- Local Directory table Register
- Global Directory table Register


Question: A Software Requirements Specification (SRS) document should avoid discussing which one of the following?

Choices:
- User interface issues
- Non-functional requirements
- Design specification
- Interfaces with third party software


Question: Which of the the following stores the result of Computation

Choices:
- Stack
- Heap
- Cache
- Accumulator


Question: Which of the following are TRUE for direct communication?

Choices:
- A communication link can be connected to N processes (where N is the maximum number of processes that the system can support).
- A link to communication is connected to precisely two processes.
- Each pair of processes has exactly N/2 linkages (where N is the maximum number of processes the system can support).
- There are precisely two links between each set of processes.


Question: Only one process can run simultaneously in ___________; all other processes must wait for the processor.

Choices:
- Uniprogramming
- Multithreading
- Multitasking
- Multiprocessing


Question: Which of the following communications has a communication link connected to precisely two processes?

Choices:
- Indirect Communication
- Direct Communication
- Relational Communication
- None of the above


Question: Which of the following queues has the feature of the sender blocking until the message is received by the recipient?

Choices:
- Single Capacity Queue
- Single Capacity Bidirectional Queue
- Multi Capacity Queue
- Zero Capacity Queue.


Question: RPC stands for what the context is of Operating System

Choices:
- Remote Procedure Calls
- Remote Process Calls
- Realtime Processing Calls
- Random Processing Calls


Question: MongoDB achieves atomicity for Write Operation at which level

Choices:
- Row
- Collection
- Document
- None of the above


Question: Which level of data abstraction describes how the data is actually stored

Choices:
- Physical level of Data Abstraction
- Logical level of Data Abstraction
- Relational level of Data Abstraction
- None of the above


Question: What do you mean by a process?

Choices:
- combination of programs
- which executes something
- a program which is in execution
- None of the above


Question: Which register is used to get the address of Global Descriptor Table

Choices:
- GDTR
- LDTR
- Cache
- None of the above


Question: System program that combines the separately compiled modules of a program into a form suitable for execution-

Choices:
- Compiler and assembler
- Linker
- Loader
- Linker and Loader


Question: Register renaming is done in pipelined processors

Choices:
- as an alternative to register allocation at compile time
- for accessing function parameters and local variables efficiently
- to avoid certain hazards
- for allocating new memory


Question: For deadlock avoidance , we can use__ algorithm.

Choices:
- Banker’s algorithm
- Round Robin algorithm
- Shortest Job First algorithm
- None of the above


Question: A semaphore has atomic operations that are known as –

Choices:
- stop() and wait()
- wait() and signal()
- test() and set()
- None of the above


Question: The notification process done by hardware for a device to notify the CPU is called-

Choices:
- notify
- interrupt
- signaling
- None of the above


Question: The page table contains __ of each page.

Choices:
- page offset
- base address of each page
- page size
- none of the mentioned


Question: SELECT, INSERT, UPDATE, DELETE commands comes under.

Choices:
- Data Definition Language(DDL)
- Data Manipulation Language(DML)
- Both of above
- None of the above


Question: An entity in A is associated with at most one entity in B, and an entity in B is associated with at least one entity in A. This is called as

Choices:
- One-to-many
- One-to-one
- Many-to-many
- Many-to-one


Question: RAM is made of which type of solid?

Choices:
- Semiconductor
- Metals
- Insulators
- None of the above


Question: Consider the basic COCOMO model where E is the effort applied in person-months, D is the development time in chronological months, KLOC is the estimated number of delivered lines of code (in thousands) and ab, bb, cb, db have their usual meanings. The basic COCOMO equations are of the form.

Choices:
- E = ab(KLOC) exp(bb), D = cb(E) exp(db)
- D = ab(KLOC) exp(bb), E = cb(D) exp(db)
- E = ab exp(bb), D = cb(KLOC) exp(db)
- E = ab exp(db), D = cb(KLOC) exp(bb)


Question: Systems that only permit one process to run at a time are referred to as

Choices:
- uniprogramming systems
- uniprocessing systems
- unitasking systems
- none of the mentioned


Question:
Consider a software project with the following information domain characteristic for calculation of function point metric.
  Number of external inputs (I) = 30
  Number of external output (O) = 60
  Number of external inquiries (E) = 23
  Number of files (F) = 08
  Number of external interfaces (N) = 02
It is given that the complexity weighting factors for I, O, E, F and N are 4, 5, 4, 10 and 7, respectively. It is also given that, out of fourteen value adjustment factors that influence the development effort, four factors are not applicable, each of he other four factors have value 3, and each of the remaining factors have value 4. The computed value of function point metric is ____________

Choices:
- 612.06
- 212.05
- 305.09
- 806.9


Question: Software safety is quality assurance activity that focuses on hazards that

Choices:
- affect the reliability of a software component.
- may cause an entire system to fail.
- may result from user input errors.
- prevent profitable marketing of the final product.


Question: A software program that infers and manipulates existing knowledge in order to generate new knowledge is known as

Choices:
- Data dictionary
- Reference mechanism
- Inference engine
- Control strategy


Question: What is the cyclomatic complexity of a module which has seventeen edges and thirteen nodes?

Choices:
- 4
- 5
- 6
- 7


Question: Which of the following types of coupling has the weakest coupling?

Choices:
- Pathological coupling
- Control coupling
- Data coupling
- Message coupling


Question: Which of the following testing methods uses fault simulation technique?

Choices:
- unit testing
- beta testing
- stress testing
- mutation testing


Question: If a program P calls two subprograms P1 and P2 and P1 can fail 50% of the time and P2 can fail 40% of the time, what is the failure rate of program P

Choices:
- 50%
- 60%
- 70%
- 10%


Question: In software testing, how the error, fault and failure are related to each other?

Choices:
- Error leads to failure but fault is not related to error and failure.
- Fault leads to failure but error is not related to fault and failure.
- Error leads to fault and fault leads to failure.
- Fault leads to error and error leads to failure.


Question: Which of the following is not a software process model?

Choices:
- Prototyping
- Iterative
- Time-boxing
- Glass-boxing


Question: Which one of the following non-functional quality attributes is not highly affected by the architecture of the software?

Choices:
- Performance
- Reliability
- Usability
- Portability


Question: A context model of a software system can be shown by drawing a

Choices:
- LEVEL-0 DFD
- LEVEL-1 DFD
- LEVEL-2 DFD
- LEVEL-3 DFD


Question: In which testing strategy requirements established during requirements analysis are validated against developed software?

Choices:
- Validation testing
- Integration testing
- Regression testing
- System testing


Question: Which process model is also called as classic life cycle model?

Choices:
- Waterfall model
- RAD model
- Prototyping model
- Incremental model


Question: Cohesion is an extension of:

Choices:
- Abstraction concept
- Refinement concept
- Information hiding concept
- Modularity


Question: Which one from the following is highly associated activity of project planning?

Choices:
- Keep track of the project progress.
- Compare actual and planned progress and costs.
- Identify the activities, milestones and deliverables produced by a project.
- Both (2) and (3).


Question: The above figure represents which one of the following UML diagram for a single send session of an online chat system?

Choices:
- Package diagram
- Activity diagram
- Class diagram
- Sequence diagram


Question: A server crashes on the average once in 30 days, that is, the Mean Time Between Failures (MTBF) is 30 days. When this happens, it takes 12 hours to reboot it, that is, the Mean Time to Repair (MTTR) is 12 hours. The availability of server with these reliability data values is approximately :

Choices:
- 96.3%
- 97.3%
- 98.3%
- 99.3%


Question: The extent to which a software tolerates the unexpected problems, is termed as:

Choices:
- Accuracy
- Reliability
- Correctness
- Robustness


Question: The ________ model is preferred for software development when the requirements are not clear.

Choices:
- Rapid Application Development
- Rational Unified Process
- Evolutionary Model
- Waterfall Model


Question: For a software project, the spiral model was employed. When will the spiral stop?

Choices:
- When the software product is retired
- When the software product is released after Beta testing
- When the risk analysis is completed
- After completing five loops


Question: Complete each of the following sentences in List – I on the left hand side by filling in the word or phrase from the List – II on the right hand side that best completes the sentence :

Choices:
- (1)
- (2)
- (3)
- (4)


Question: If in a software project the number of user input, user output, enquiries, files and external interfaces are (15, 50, 24, 12, 8), respectively, with complexity average weighing factor. The productivity if effort = 70 percent-month is

Choices:
- 110.54
- 408.74
- 304.78
- 220.14


Question: Alpha and Beta testing are forms of

Choices:
- Acceptance testing
- Integration testing
- System testing
- Unit testing


Question: The major shortcoming of waterfall model is

Choices:
- the difficulty in accommodating changes after requirement analysis.
- the difficult in accommodating changes after feasibility analysis.
- the system testing.
- the maintenance of system.


Question: The quick design of a software that is visible to end users leads to _____.

Choices:
- iterative model
- prototype model
- spiral model
- waterfall model


Question: _______ is subject oriented, integrated, time variant, nonvolatile collection of data in support of management decisions.

Choices:
- Data mining
- Web mining
- Data warehouse
- Database Management System


Question: In Data mining, classification rules are extracted from _______.

Choices:
- Data
- Information
- Decision Tree
- Database


Question: Black Box Software Testing method focuses on the

Choices:
- Boundary condition of the software
- Control structure of the software
- Functional requirement of the software
- Independent paths of the software


Question: Discovery of cross sales opportunities is called as _____.

Choices:
- Association
- Visualization
- Correlation
- Segmentation


Question:
Consider the following pseudo code

while (m < n)
   if (x > y ) and (a < b) then
      a=a+1
      y=y-1
   end if
   m=m+1
end while

What is cyclomatic complexity of the above pseudo code?

Choices:
- 2
- 3
- 4
- 5


Question: Which of the following is not a maturity level as per Capability Maturity Model?

Choices:
- Initial
- Measurable
- Repeatable
- Optimized


Question: The test suite (set of test input) used to perform unit testing on module could cover 70% of the code. What is the reliability of the module if the probability of success is 0.95 during testing?

Choices:
- 0.665 to 0.95
- At the most 0.665
- At the most 0.95
- At least 0.665


Question: Match each software lifecycle model in List – I to its description in List – II:

Choices:
- (1)
- (2)
- (3)
- (4)


Question: Match each software term in List – I to its description in List – II:

Choices:
- (1)
- (2)
- (3)
- (4)


Question: The ISO quality assurance standard that applies to software Engineering is

Choices:
- ISO 9000 : 2004
- ISO 9001 : 2000
- ISO 9002 : 2001
- ISO 9003 : 2004


Question: Which of the following are external qualities of a software product?

Choices:
- Maintainability, reusability, portability, efficiency, correctness.
- Correctness, reliability, robustness, efficiency, usability.
- Portability, interoperability, maintainability, reusability.
- Robustness, efficiency, reliability, maintainability, reusability.


Question: In Data mining, ______ is a method of incremental conceptual clustering.

Choices:
- STRING
- COBWEB
- CORBA
- OLAD


Question: A software project was estimated at 352 Function Points (FP). A four person team will be assigned to this project consisting of an architect, two programmers, and a tester. The salary of the architect is ` 80,000 per month, the programmer ₹ 60,000 per month and the tester ₹ 50,000 per month. The average productivity for the team is 8 FP per person month. Which of the following represents the projected cost of the project ?

Choices:
- ₹ 28,16,000
- ₹ 20,90,000
- ₹ 26,95,000
- ₹ 27,50,000


Question: As compared to rental and leasing methods to acquire computer systems for a Management Information System (MIS), purchase method has following advantage:

Choices:
- It has high level of flexibility
- It doesn’t require cash up-front
- It is a business investment
- Little risk of obsolescence


Question: The Cyclomatic Complexity metric V(G) of the following control flow graph

Choices:
- 3
- 4
- 5
- 6


Question: Assume that the software team defines a project risk with 80% probability of occurrence of risk in the following manner : Only 70 percent of the software components scheduled for reuse will be integrated into the application and the remaining functionality will have to be custom developed. If 60 reusable components were planned with average component size as 100 LOC and software engineering cost for each LOC as $ 14, then the risk exposure would be

Choices:
- $ 25,200
- $ 20,160
- $ 17,640
- $ 15,120


Question: Maximum possible value of reliability is

Choices:
- 100
- 10
- 1
- 0


Question: In unit testing of a module, it is found that for a set of test data, at the maximum 90% of the code alone were tested with the probability of success 0.9. The reliability of the module is

Choices:
- Greater than 0.9
- Equal to 0.9
- At most 0.81
- At least 0.81


Question: In a particular program, it is found that 1% of the code accounts for 50% of the execution time. To code a program in C++, it takes 100 man-days. Coding in assembly language is 10 times harder than coding in C++, but runs 5 times faster. Converting an existing C++ program into an assembly language program is 4 times faster. To completely write the program in C++ and rewrite the 1% code in assembly language, if a project team needs 13 days, the team consists

Choices:
- 13 programmers
- 10 programmers
- 8 programmers
- 100/13 programmers


Question: The Functions Point (FP) metric is

Choices:
- Calculated from user requirement
- Calculated from lines of code
- Calculated from software complexity assessment
- None of the above


Question: The lower degree of cohesion is kind of

Choices:
- Logical Cohesion
- Coincidental Cohesion
- Procedural Cohesion
- Communicational Cohesion


Question:
Consider the JavaScript Code:

var y= ’’12”;
function f( ) {
var y=’’6”;
alert (this.y);
function g( ) {alert (y); }
g( );
}
f( );

If M is the number of alert dialog boxes generated by this JavaScript code and D1, D2, ...., D M represents the content displayed in each of the M dialog boxes, then:

Choices:
- M=3; D1 displays ”12”; D2 displays ”6”; D3 displays ”12”.
- M=3; D1 displays ”6”; D2 displays ”12”; D3 displays ”6”.
- M=2; D1 displays ”6”; D2 displays ”12”.
- M=2; D1 displays ”12”; D2 displays ”6”.


Question: Assume the following regarding the development of a software system P: - Estimated lines of code of P : 33, 480 LOC - Average productivity for P : 620 LOC per person-month - Number of software developers : 6 - Average salary of a software developer : ` 50,000 per month If E, D and C are the estimated development effort (in person-months), estimated development time (in months), and estimated development cost (in ` Lac) respectively, then (E, D, C) =_________.

Choices:
- (48, 8, 24)
- (54, 9, 27)
- (60, 10, 30)
- (42, 7, 21)


Question: Match the following in Software Engineering:   List - I List - II      (a) Product Complexity   (i)Software Requirements Definition   (b)  Structured System Analysis (ii) Software Design   (c)Coupling and Cohesion (iii)Validation Technique   (d)Symbolic Execution (iv)Software Cost Estimation    (a) (b) (c) (d)   (1)  (ii) (iii) (iv) (i)   (2)  (iii)  (i) (iv) (ii)   (3) (iv) (i) (ii) (iii)   (4) (iii) (iv) (i) (ii)

Choices:
- (1)
- (2)
- (3)
- (4)


Question: Which one of the following is not typically provided by Source Code Management Software ?

Choices:
- Synchronisation
- Versioning and Revision history
- Syntax highlighting
- Project forking


Question: A software system crashed 20 times in the year 2017 and for each crash, it took 2 minutes to restart. Approximately, what was the software availability in that year?

Choices:
- 96.9924%
- 97.9924%
- 98.9924%
- 99.9924%


Question:
Coupling is a measure of the strength of the interconnections between software modules.
Which of the following are correct statements with respect to module coupling ?
P : Common coupling occurs when one module controls the flow of another module by passing it information on what to do.
Q : In data coupling, the complete data structure is passed from one module to another through parameters.
R : Stamp coupling occurs when modules share a composite data structure and use only parts of it.
Code:

Choices:
- P and Q only
- P and R only
- Q and R only
- All of P, Q and R


Question: A software design pattern often used to restrict access to an object is:

Choices:
- adapter
- decorator
- delegation
- proxy


Question:
Match List-I with List-II:
   List-I                                      List-II
(Software process Models)                      (Software System)
(a) Waterfall model                            (i) e-business that starts with only the basic functionality and then moves on to more advanced features.
(b) Incremental development                    (ii) An inventory control system for a supermarket to be developed on a highway
(c) Prototyping                                (iii) A virtual reality system for simulating vehicle navigation on a highway.
(d) RAD                                        (iv) Automate the manual system for student record maintenance in a school

Choose the correct option from those given below:

Choices:
- a-ii,b-iv,c-i,d-iii
- a-i,b-iii,c-iv,d-ii
- a-iii,b-ii,c-iv,d-i
- a-iv,b-i,c-iii,d-ii


Question: Consider a software program that is artificially seeded with 100 faults. While testing this program, 159 faults are detected, out of which 75 faults are from those artificially seeded faults. Assuming that both real and seeded faults are of same  nature and have same distribution, the estimated number of undetected real faults is ____________.

Choices:
- 28
- 175
- 56
- 84


Question: What is true about UML stereotypes?

Choices:
- Stereotype is used for extending the UML language.
- Stereotyped class must be abstract
- The stereotype indicates that the UML element cannot be changed
- UML profiles can be stereotyped for backward compatibility


Question: Which one of the following set of attributes should not be encompassed by effective software metrics ?

Choices:
- Simple and computable
- Consistent and objective
- Consistent in the use of units and dimensions
- Programming language dependent


Question: Requirement Development, Organizational Process Focus, Organizational Training, Risk Management and Integrated Supplier Management are process areas required to achieve maturity level

Choices:
- Performed
- Managed
- Defined
- Optimized


Question: __________ are applied throughout the software process.

Choices:
- Framework activities
- Umbrella activities
- Planning activities
- Construction activities


Question: Which one of the following statements is incorrect?

Choices:
- Pareto analysis is a statistical method used for analyzing causes, and is one of the primary tools for quality management.
- Reliability of a software specifies the probability of failure-free operation of that software for a given time duration.
- The reliability of a system can also be specified as the Mean Time To Failure (MTTF).
- In white-box testing, the test cases are decided from the specifications or the requirements


Question: Which one of the following statements, related to the requirements phase in Software Engineering, is incorrect?

Choices:
- “Requirement validation” is one of the activities in the requirements phase.
- “Prototyping” is one of the methods for requirement analysis.
- “Modelling-oriented approach” is one of the methods for specifying the functional specifications
- “Function points” is one of the most commonly used size metric for requirements.


Question: Activities which ensure that the software that has been built, is traceable to customer requirement is covered as part of

Choices:
- Verification
- Validation
- Maintenance
- Modeling


Question: Verification:

Choices:
- refers to the set of activities that ensure that software correctly implements a specific function
- gives answer to the question - Are we building the product right ?
- requires execution of software
- both (A) and (B)


Question: Requirements prioritisation and negotiation belongs to:

Choices:
- Requirements validation
- Requirements elicitation
- Feasibility study
- Requirements reviews


Question: Adaptive maintenance is a maintenance which __________.

Choices:
- correct errors that were not discovered till testing phase
- is carried out to port the existing software to a new environment.
- improves the system performance
- both (2) and (3)


Question: A Design concept Refinement is a

Choices:
- Top-down approach
- Complementary of Abstraction concept
- Process of elaboration
- All of the above


Question: Warnier Diagram enables the analyst to represent

Choices:
- Class structure
- Information Hierarchy
- Data Flow
- State Transition


Question: A software design is highly modular if:

Choices:
- cohesion is functional and coupling is data type.
- cohesion is coincidental and coupling is data type.
- cohesion is sequential and coupling is content type.
- cohesion is functional and coupling is stamp type.


Question: Which of the following is not a UML DIAGRAM?

Choices:
- Use Case
- Class Diagram
- Analysis Diagram
- Swimlane Diagram


Question: To execute all loops at their boundaries and within their operational bounds is an example of

Choices:
- Black Box Testing
- Alpha Testing
- Recovery Testing
- White Box Testing


Question: A rule in a limited entry decision table is a

Choices:
- row of the table consisting of condition entries
- row of the table consisting of action entries
- column of the table consisting of condition entries and corresponding action entries
- columns of the table consisting of conditions of the stub


Question: Which of the following is not an approach to Software Process Assessment?

Choices:
- SPICE(ISO/IEC15504)
- Standard CMMI Assessment Method for process improvement
- . ISO 9001:2000
- IEEE 2000:2001


Question: A physical DFD specifies

Choices:
- what processes will be used
- who generates data and who processes it
- what each person in an organization does
- which data will be generated


Question: In UML diagram of a class

Choices:
- state of object cannot be represented
- state is irrelevant
- state is represented as an attribute
- state is represented as a result of an operation


Question: Which of the following models used for software reliability

Choices:
- Waterfall
- Musa
- COCOMO
- Rayleigh


Question:
Match the following:   List - I
    List - II

    (a) Joint Application Design (JAD) (i) Delivers functionality in rapid iteration measured in weeks and needs frequent communication, development, testing and delivery   (b) Computer Aided Software Engg (ii) Reusable applications generally with one specific function. It is closely linked with idea of web services and service oriented architecture.   (c)Agile development (iii)Tools to automate many tasks of SDLC   (d) Component based technology (iv) A group based tool for collecting user requirements and creating system design. Mostly used in analysis and design stages of SDLC.

Choices:
- (1)
- (2)
- (3)
- (4)


Question: In the Spiral model of software development, the primary determinant in selecting activities in each iteration is

Choices:
- Iteration size
- Cost
- Adopted process such as Rational Unified Process or Extreme Programming
- Risk


Question: The software _________ of a program or a computing system is the structure or structures of the system, which comprise software components, the externally visible properties of those components, and the relationships among them.

Choices:
- Design
- Architecture
- Process
- Requirement


Question:
Which of the following are facts about a top-down software testing approach?
I. Top-down testing typically requires the tester to build method stubs.
II. Top-down testing typically requires the tester to build test drivers.

Choices:
- only I
- Only II
- Both I and II
- Neither I nor II


Question: In a data flow diagram, the segment shown below is identified as having transaction flow characteristics, with p2 identified as the transaction center   A first level architectural design of this segment will result in a set of process modules with an associated invocation sequence. The most appropriate architecture is

Choices:
- p1 invokes p2, p2 invokes either p3, or p4, or p5
- p2 invokes p1, and then invokes p3, or p4, or p5
- A new module Tc is defined to control the transaction flow. This module Tc first invokes pl and then invokes
- A new module Tc is defined to control the transaction flow. This module Tc invokes p2. p2 invokes p1, and then invokes p3, or p4, or p5


Question: The cyclomatic complexity of the flow graph of a program provides

Choices:
- an upper bound for the number of tests that must be conducted to ensure that all statements have been executed at most once
- a lower bound for the number of tests that must be conducted to ensure that all statements have been executed at most once
- an upper bound for the number of tests that must be conducted to ensure that all statements have been executed at least once
- a lower bound for the number of tests that must be conducted to ensure that all statements have been executed at least once


Question: In the Spiral model of software development, the primary determinant in selecting activities in each iteration is

Choices:
- Iteration size
- Cost
- Adopted process such as Rational Unified Process or Extreme Programming
- Risk


Question:
Find if the following statements in the context of software testing are TRUE or FALSE.
(S1) Statement coverage cannot guarantee execution of loops in a program under test.
(S2) Use of independent path testing criterion guarantees execution of each loop in a program under test more than once.

Choices:
- True, True
- True, False
- False, True
- False, False


Question: Which of the following are NOT considered when computing function points for a software project?(O1) External inputs and outputs(O2) Programming language to be used for the implementation(O3) User interactions(O4) External interfaces(O5) Number of programmers in the software project(O6) Files used by the system

Choices:
- O2, O3
- O1, O5
- O4, O6
- O2, O5


Question:
A software project plan has identified ten tasks with each having dependencies as given in the following table:

Task        Depends On
T1                 -
T2                T1
T3                T1
T4                T1
T5                T2
T6                T3
T7                T3, T4
T8               T4
T9               T5, T7, T8
T10             T6, T9
Answer the following questions:

(Q1) What is the maximum number of tasks that can be done concurrently?
(Q2) What is the minimum time required to complete the project, assuming that each task requires one time unit and there is no restriction on the number of tasks that can be done in parallel ?

Choices:
- 5, 5
- 4, 5
- 5, 4
- 4, 4


Question: A software engineer is required to implement two sets of algorithms for a single set of matrix operations in an object oriented programming language; the two sets of algorithms are to provide precisions of 10-3and 10-6, respectively. She decides to implement two classes, Low Precision Matrix and High Precision Matrix, providing precisions 10-3and 10-6 respectively. Which one of the following is the best alternative for the implementation?  (S1)  The two classes should be kept independent. (S2)  Low Precision Matrix should be derived from High Precision Matrix. (S3)  High Precision Matrix should be derived from Low Precision Matrix. (S4)  One class should be derived from the other; the hierarchy is immaterial.

Choices:
- S1
- S2
- S3
- S4


Question:
Consider the following pseudo-code
x:=1;
i:=1;
while (x <= 1000)
begin
  x:=2^x;
  i:=i+1;
end;

What is the value of i at the end of the pseudo-code?

Choices:
- 4
- 5
- 6
- 7


Question: Which of the following programming language(s) provides garbage collection automatically

Choices:
- Lisp
- C++
- Fortran
- C


Question: The Operating System of a computer may periodically collect all the free memory space to form contiguous block of free space. This is called:

Choices:
- Concatenation
- Garbage collection
- Collision
- Dynamic Memory Allocation


Question:
Let P be a procedure that for some inputs calls itself (i.e. is recursive). If P is guaranteed to terminate, which of the following statement(s) must be true?
I.   P has a local variable
II.  P has an execution path where it does not call itself
III. P either refers to a global variable or has at least one parameter

Choices:
- I only
- II only
- III only
- II and III only


Question:
Which of the following statements is/are True?
P : C programming language has a weak type system with static types.
Q : Java programming language has a strong type system with static types.
Code:

Choices:
- P only
- Q only
- Both P and Q
- Neither P nor Q


Question:
Which of the following requirement specifications can be validated?

(S1)  If the system fails during any operation, there should not be any loss of data

(S2)  The system must provide reasonable performance even under maximum load conditions

(S3)  The software executable must be deployable under MS Windows 95, 2000 and XP

(S4)  User interface windows must fit on a standard monitor\'s screen

Choices:
- S4 and S3
- S4 and S2
- S3 and S1
- S2 and S1


Question: Software does not wear-out in the traditional sense of the term, but software does tend to deteriorate as it evolves, because :

Choices:
- Software suffers from exposure to hostile environments.
- Defects are more likely to arise after software has been used often.
- Multiple change requests introduce errors in component interactions.
- Software spare parts become harder to order.


Question: Software re-engineering is concerned with:

Choices:
- Re-constructing the original source code from the existing machine (low - level) code program and modifying it to make it more user - friendly.
- Scrapping the source code of a software and re writing it entirely from scratch.
- Re-organising and modifying existing software systems to make them more maintainable.
- Translating source code of an existing software to a new machine (low - level) language.


Question:
The availability of a complex software is 90%. Its Mean Time Between Failure (MTBF) is 200 days. Because of the critical nature of the usage, the organization deploying the software further enhanced it to obtain an availability of 95%. In the process, the Mean Time To Repair (MTTR) increased by 5 days.
What is the MTBF of the enhanced software

Choices:
- 205 days
- 300 days
- 500 days
- 700 days


Question: The Function Point (FP) calculated for a software project are often used to obtain an estimate of Lines of Code (LOC) required for that project. Which of the following statements is FALSE in this context.

Choices:
- The relationship between FP and LOC depends on the programming language used to implement the software.
- LOC requirement for an assembly language implementation will be more for a given FP value, than LOC for implementation in COBOL
- On an average, one LOC of C++ provides approximately 1.6 times the functionality of a single LOC of FORTRAN
- FP and LOC are not related to each other


Question: What is the availability of a software with the following reliability figures? Mean Time Between Failure (MTBF) = 25 days Mean Time To Repair (MTTR) = 6 hours

Choices:
- 1%
- 24%
- 99%
- 99.009%


Question: Repeated execution of simple computation may cause compounding of

Choices:
- round-off errors
- syntax errors
- run-time errors
- logic errors


Question:
Consider three software items: Program-X, Control Flow Diagram of Program-Y and Control Flow Diagram of Program-Z as shown below

The values of McCabe’s Cyclomatic complexity of Program-X, Program-Y and Program-Z respectively are

Choices:
- 4, 4, 7
- 3, 4, 7
- 4, 4, 8
- 4, 3, 8


Question: Match the terms related to Software Configuration Management (SCM) in List – I with the descriptions in List – II.

Choices:
- (1)
- (2)
- (3)
- (4)


Question: In a software project, COCOMO (Constructive Cost Model) is used to estimate

Choices:
- effort and duration based on the size of the software
- size and duration based on the effort of the software
- effort and cost based on the duration of the software
- size, effort and duration based on the cost of the software


Question: A software organization has been assessed at SEI CMM Level 4. Which of the following does the organization need to practice beside Process Change Management and Technology Change Management in order to achieve Level 5 ?

Choices:
- Defect Detection
- Defect Prevention
- Defect Isolation
- Defect Propagation


Question: A software project involves execution of 5 tasks T1, T2, T3, T4 and T5 of duration 10, 15, 18, 30 and 40 days, respectively. T2 and T4 can start only after T1 completes. T3 can start after T2 completes. T5 can start only after both T3 and T4 complete. What is the slack time of the task T3 in days?

Choices:
- 0
- 3
- 18
- 30


Question:
Consider the following program module:
int module1 (int x, int y) {
    while (x! = y) {
        if (x > y)
             x = x - y,
        else y = y - x;
        }
    return x;
}
What is Cyclomatic complexity of the above module?

Choices:
- 1
- 2
- 3
- 4


Question: Assume that the delivered lines of code L of a software is related to the effort E in person months and duration t in calendar months by the relation L P* (E/B)1/3 * t4/3, where P and B are two constants for the software process and skills factor. For a software project, the effort was estimated to be 20 person months and the duration was estimated to be 8 months. However, the customer asked the project team to complete the software project in 4 months. What would be the required effort in person months?

Choices:
- 10
- 40
- 160
- 320


Question: Which of the following is not a key issue stressed by an agile philosophy of software engineering ?

Choices:
- The importance of self-organizing teams as well as communication and collaboration between team members and customers.
- Recognition that change represents opportunity.
- Emphasis on rapid delivery of software that satisfies the customer.
- Having a separate testing phase after a build phase.


Question: A software was tested using the error seeding strategy in which 20 errors were seeded in the code. When the code was tested using the complete test suite, 16 of the seeded errors were detected. The same test suite also detected 200 non-seeded errors. What is the estimated number of undetected errors in the code after this testing?

Choices:
- 4
- 50
- 200
- 250


Question: Match the following types of variables with the corresponding programming languages:

Choices:
- (1)
- (2)
- (3)
- (4)


Question:
Consider the following program :
#include <stdio.h>
main( )
{
    int i, inp;
    float x, term=1, sum=0;
    scanf(“%d %f ”, & inp, &x);
    for(i=1; i<=inp; i++)
    {
      term = term * x/i;
      sum = sum + term ;
    }
   printf(“Result = %f\\n”, sum);
}
The program computes the sum of which of the following series?

Choices:
- x +  x2/2 +  x3/3 + x4/4	+...
- x +  x2/2! +  x3/3! + x4/4!	+...
- 1 +  x2/2 +  x3/3 + x4/4	+...
- 1 +  x2/2! +  x3/3! + x4/4!	+...


Question: Match the following w.r.t. programming language:

Choices:
- (1)
- (2)
- (3)
- (4)
- No option is correct.


Question:
What is the output of the following program?
(Assume that the appropriate preprocessor directives are included and there is no syntax error)
main ( )
     { char S[ ] = "ABCDEFGH";
      printf ("%C", *(&S[3]));
      printf ("%s", S + 4);
      printf ("%u", S);
      /* Base address of S is 1000 */
     }

Choices:
- ABCDEFGH1000
- CDEFGH1000
- DDEFGHH1000
- DEFGH1000


Question: Language model used in LISP is __________.

Choices:
- Functional programming
- Logic programming
- Object oriented programming
- All of the above


Question:
Consider the following code written in a pass-by-reference language like FORTRAN and these statements about the code.
subroutine swap(ix,iy)
it = ix
L1 : ix = iy
L2 : iy = it
end
ia = 3
ib = 8
call swap (ia, ib+5)
print *, ia, ib
end
S1: The compiler will generate code to allocate a temporary nameless cell, initialize it to 13, and pass the address of the cell to swap
S2: On execution the code will generate a runtime error on line L1
S3: On execution the code will generate a runtime error on line L2
S4: The program will print 13 and 8
S5: The program will print 13 and -2
Exactly the following set of statement(s) is correct:

Choices:
- S1 and S2
- S1 and S4
- S3
- S1 and S5


Question:
What is the value of F(4) using the following procedure:

function F(K : integer)
integer;
begin
if (k<3) then F:=k
else F:=F(k-1)*F(k-2)+F(k-3)
end;

Choices:
- 5
- 6
- 7
- 8


Question:
Which of the following is not typically a benefit of dynamic linking?
I. Reduction in overall program execution time.
II. Reduction in overall space consumption in memory.
III. Reduction in overall space consumption on disk.
IV. Reduction in the cost of software updates.

Choices:
- I and IV
- I only
- II and III
- IV only


Question:
What is the normal order of activities in which traditional software testing is organized?
(a) Integration Testing
(b) System Testing
(c) Unit Testing
(d) Validation Testing

Choices:
- (1)
- (2)
- (3)
- (4)


Question: Which of the following is false regarding the evaluation of computer programming languages ?

Choices:
- Application oriented features
- Efficiency and Readability
- Software development
- Hardware maintenance cost


Question: Which of the following statements about ERP system is true ?

Choices:
- Most ERP software implementations fully achieve seamless integration.
- ERP software packages are themselves combinations of separate applications for manufacturing, materials, resource planning, general ledger, human resources, procurement and order entry.
- Integration of ERP systems can be achieved in only one way.
- An ERP package implemented uniformly throughout an enterprise is likely to contain very flexible connections to allow charges and software variations.


Question: Capability Maturity Model (CMM) is a methodology to

Choices:
- develop and refine an organization\'s software development process
- develop the software
- test the software
- All of the above


Question: Which of the following is not a life cycle model?

Choices:
- Spiral model
- Prototyping model
- Waterfall model
- Capability maturity model


Question: The cyclomatic complexity of each of the modules X and Y shown below is 10. What is the cyclomatic complexity of the sequential integration shown on the right hand side?

Choices:
- 21
- 19
- 20
- 10


Question: In software maintenance tackling the changes in the hardware or software environment where the software works, is

Choices:
- Corrective maintenance
- Perfective maintenance
- Adaptive maintenance
- Preventive maintenance


Question: Which product metric gives the measure of the average length of words and sentence in documents?

Choices:
- SCI number
- Cyclomatic complexity
- LOC
- Fog index


Question: In the context of modular software design, which one of the following combinations is desirable?

Choices:
- High cohesion and high coupling
- High cohesion and low coupling
- Low cohesion and high coupling
- Low cohesion and low coupling


Question: Which of the following is not one of three software product aspects addressed by McCall’s software quality factors?

Choices:
- Ability to undergo change
- Adaptability to new environments
- Operational characteristics
- Production costs and scheduling


Question: Which of the following UML 2.0 diagrams capture behavioural aspects of a system?

Choices:
- Use Case Diagram, Object Diagram, Activity Diagram, and State Machine Diagram
- Use Case Diagram, Activity Diagram, and State Machine Diagram
- Object Diagram, Communication Diagram, Timing Diagram, and Interaction diagram
- Object Diagram, Composite Structure Diagram, Package Diagram, and Deployment Diagram


Question:
Which of the following statement(s) is/are true with respect to software architecture ?
 S1 : Coupling is a measure of how well the things grouped together in a module belong together logically.
 S2 : Cohesion is a measure of the degree of interaction between software modules.
 S3 : If coupling is low and cohesion is high then it is easier to change one module without affecting others.

Choices:
- Only S1 and S2
- Only S3
- All of S1, S2 and S3
- Only S1


Question:
Which of the following statements is/are true w.r.t. Enterprise Resource Planning (ERP) ?
 (A) ERP automates and integrates majority of business processes.
 (B) ERP provides access to information in a Real Time Environment.
 (C) ERP is inexpensive to implement

Choices:
- (A), (B) and (C) are false.
- (A) and (B) false; (C) true.
- (A) and (B) true; (C) false.
- (A) true ; (B) and (C) are false.


Question: The extent to which the s/w can continue to operate correctly despite the introduction of invalid inputs is called as

Choices:
- Reliability
- Robustness
- Fault tolerance
- Portability


Question: Which one of the following is a functional requirement

Choices:
- Maintainability
- Portability
- Robustness
- None of the mentioned


Question: Configuration management is not concerned with

Choices:
- controlling changes to the source code
- choice of hardware configuration for an application
- controlling documentation changes
- maintaining versions of software


Question: A company needs to develop digital signal processing software for one of its newest inventions. The software is expected to have 20000 lines of code. The company needs to determine the effort in person-months needed to develop this software using the basic COCOMO model. The multiplicative factor for this model is given as 2.2 for the software development on embedded systems, while the exponentiation factor is given as 1.50. What is the estimated effort in person-months?

Choices:
- 196.77
- 206.56
- 199.56
- 210.68


Question: Which of the following testing techniques ensures that the software product runs correctly after the changes during maintenance ?

Choices:
- Path Testing
- Integration Testing
- Unit Testing
- Regression Testing


Question:
A company needs to develop a strategy for software product development for which it has a choice of two programming languages L1 and L2. The number of lines of code (LOC) developed using L2 is estimated to be twice the LOC developed with Ll. The product will have to be maintained for five years. Various parameters for the company are given in the table below.
   Parameter Language L1 Language L2   Man years needed for development LOC/10000 LOC/10000   Development cost per man year Rs. 10,00,000 Rs. 7,50,000   Maintenance time 5 years 5 years   Cost of maintenance per year Rs. 1,00,000 Rs. 50,000
Total cost of the project includes cost of development and maintenance. What is the LOC for L1 for which the cost of the project using L1 is equal to the cost of the project using L2?

Choices:
- 10,000
- 5,000
- 7,500
- 75,000


Question: The prototyping model of software development is:

Choices:
- a reasonable approach when requirements are well-defined
- a useful approach when a customer cannot define requirements clearly.
- the best approach to use for projects with large development teams.
- a risky model that rarely produces a meaningful product.


Question: Estimation of software development effort for organic software in basic COCOMO is

Choices:
- E = 2.0(KLOC)1.05PM
- E = 3.4(KLOC)1.06PM
- E = 2.4(KLOC)1.05PM
- E = 2.4(KLOC)1.07PM


Question: A software design pattern used to enhance the functionality of an object at run-time is:

Choices:
- Adapter
- Decorator
- Delegation
- Proxy


Question: Statistical software quality assurance in software engineering involves __________ .

Choices:
- using sampling in place of exhaustive testing of software.
- surveying customers to find out their opinions about product quality.
- tracing each defect to its underlying cause, isolating the vital few causes, and moving to correct them.
- tracing each defect to its underlying causes, and using the Pareto principle to correct each problem found.


Question: Which of the following is not a Clustering method ?

Choices:
- K - Mean method
- Self Organizing feature map method
- K - nearest neighbor method
- Agglomerative method


Question: With respect to CRT, the horizontal retrace is defined as:

Choices:
- The path an electron beam takes when returning to the left side of the CRT.
- The path an electron beam takes when returning to the right side of the CRT.
- The technique of turning the electron beam off while retracing.
- The technique of turning the electron beam on/off while retracing.


Question: The three aspects of Quantization, programmers generally concerned with are:

Choices:
- Coding error, Sampling rate and Amplification
- Sampling rate, Coding error and Conditioning
- Sampling rate, Aperture time and Coding error
- Aperture time, Coding error and Strobing


Question: An XML document that adheres to syntax rules specified by XML 1.0 specification in that it must satisfy both physical and logical structured, is called:

Choices:
- Well - formed
- Reasonable
- Valid
- Sophisticated


Question:
Consider the following :
  A. Condition Coverage p. Black box testing   B. Equivalence Class partitioning q. System testing   C. Volume Testing r. White box testing   D. Beta Testing s. Performance testing

Matching A, B, C, D in the same order gives.

Choices:
- r, p, s, q
- p, r, q, s
- s, r, q, p
- q, r, s, p


Question:
Which of the following statements is/are FALSE with respect to software testing ?
S1 : White-box tests are based on specifications; better at telling whether program meets specification, better at finding errors of omission.
S2 : Black-box tests are based on code; better for finding crashes, out of bounds errors, file not closed errors.
S3 : Alpha testing is conducted at the developer’s site by a team of highly skilled testers for software that is developed as a product to be used by many customers.

Choices:
- Only S1 and S2 are FALSE.
- Only S1 and S3 are FALSE.
- Only S2 and S3 are FALSE.
- All of S1, S2, and S3 are FALSE.


Question: A signal processor software is expected to operate for 91.25 days after repair, and the mean software repair time is expected to be 5 minutes. Then, the availability of the software is:

Choices:
- 96.9862%
- 97.9862%
- 98.9962%
- 99.9962%


Question: A simple stand - alone software utility is to be developed in ’C’ programming by a team of software experts for a computer running Linux and the overall size of this software is estimated to be 20,000 lines of code. Considering (a, b) = (2.4, 1.05) as multiplicative and exponential factor for the basic COCOMO effort estimation equation and (c, d) = (2.5, 0.38) as multiplicative and exponential factor for the basic COCOMO development time estimation equation, approximately how long does the software project take to complete?

Choices:
- 10.52 months
- 11.52 months
- 12.52 months
- 14.52 months


Question:
Consider the method mcq ( ):

int mcq(boolean a, boolean b, boolean c, boolean d) {
    int ans = 1;
    if (a) {
        ans = 2;
    } else if (b) {
        ans = 3;
    } else if (c) {

        if (d) {
            ans = 4;
        }
    }
    return ans;
}

``````C

If
M1 = Number of tests to exhaustively test mcq ( );
M2 = Minimum number of tests to achieve full statement coverage for mcq ( ); and
M3 = Minimum number of tests to achieve full branch coverage for mcq ( );
then (M1, M2, M3) = __________.

Choices:
- (16, 3, 5)
- (8, 5, 3)
- (8, 3, 5)
- (16, 4, 4)


Question: In Software Configuration Management (SCM), which of the following is a use-case supported by standard version control systems ? (a) Managing several versions or releases of a software (b) Filing bug reports and tracking their progress (c) Allowing team members to work in parallel (d) Identifying when and where a regression occurred

Choices:
- Only (a), (c), and (d)
- Only (a), (b), and (c)
- Only (a), (b), and (d)
- Only (b), (c), and (d)


Question: In Artificial Intelligence (AI), which agent deals with happy and unhappy state?

Choices:
- Simple reflex agent
- Model based agent
- Learning agent
- Utility based agent


Question: Which of the following is a valid reason for causing degeneracy in a transportation problem ? Here m is no. of rows and n is no. of columns in transportation table.

Choices:
- When the number of allocations is m+n−1.
- When two or more occupied cells become unoccupied simultaneously.
- When the number of allocations is less than m+n−1.
- When a loop cannot be drawn without using unoccupied cells, except the starting cell of the loop.


Question:
Consider the following LPP :
Max Z = 15x1 + 10x2
Subject to the constraints
4x1 + 6x2 ≤ 360
3x1 + 0x2 ≤ 180
0x1 + 5x2 ≤ 200
x1, x2 / 0
The solution of the LPP using Graphical solution technique is :

Choices:
- x1=60, x2=0 and Z=900
- x1=60, x2=20 and Z=1100
- x1=60, x2=30 and Z=1200
- x1=50, x2=40 and Z=1150


Question:
Consider the following LPP :
Min Z = 2x1 + x2 + 3x3
Subject to :
x1 − 2x2 + x3 ≥ 4
2x1 + x2 + x3 ≤ 8
x1 − x3 ≥ 0
x1, x2, x3 ≥ 0

The solution of this LPP using Dual Simplex Method is :

Choices:
- x1=0, x2=0, x3=3 and Z=9
- x1=0, x2=6, x2=0 and Z=6
- x1=4, x2=0, x2=0 and Z=8
- x1=2, x2=0, x2=2 and Z=10


Question: Consider a Takagi - Sugeno - Kang (TSK) Model consisting rules of the form: If Xi is Ai1 and... and xr is Air THEN y = fi(x1, x2,.... xr) = bi0 + bi1x1 + birxr assume, ai is the matching degree of rule i, then the total output of the model is given by:

Choices:
-
[Tex]
 y=\sum_{i=1}^{L}\alpha_{i} f_{i}\left ( x_{1}, x_{2},...x_{n} \right )[/Tex]


Question: What does the data dictionary identify?

Choices:
- Field names
- Field formats
- Field Types
- All of these


Question:
The code snippet described below represents
     const [value1,value2,value3]= data

Choices:
- Destructuring in an object
- Destructuring in an array
- Can be both destructuring in array or object
- None of the above


Question: Which of the two operator have the same syntax of writing

Choices:
- Increment and spread operator
- Spread operator and rest parameter
- Rest parameter and increment operator
- None of the above


Question: What is the function of spread(...) operator in javascript

Choices:
- Allows an iterable to be expanded to be expanded in places where 0 or more arguments/key-value pairs are expected
- Make spaces in the beginning of a sentence
- Create substring of a string
- All of the above


Question: Which data structure in javascript is used to maintain only unique values out of the given data

Choices:
- Set
- array
- strings
- All of the above


Question:
The code snippet described below represents
     const {name,value,id}= data

Choices:
- Destructuring in an object
- Destructuring in an array
- Can be both destructuring in array or object
- None of the above


Question: What will be the output of the following code const arr=new Set([1,2,2,3,3,4,4,4,4,5,6]) console.log(arr)

Choices:
- [1,2,3]
- [1,2,3,4,5,6]
- [5,6]
- None of the above


Question:
What will be the output of the following code snippet
 let data=7
     while(data>=0)
     {
           if(data<=5)
           {
                data--;
                continue;
            }
            console.log(data);
            data--;
      }

Choices:
- 7 6 5 4 3 2 1 0
- 7 6 5
- 7 6
- 0 1 2 3 4 5


Question: What is the role of break keyword inside a loop

Choices:
- Restart the loop
- Move out of the loop
- Ignore the rest of the statements below it and continue the loop
- None of the above


Question: What is the role of continue keyword inside a loop

Choices:
- Restart the loop
- Break out of the loop
- Ignore the rest of the statements below it and continue the loop
- None of the above


Question: Which of the following is a reference to another object from which properties are inherited

Choices:
- Object’s prototype
- Object’s characteristics
- Object’s class
- All of the above


Question: Which of the following method can also be used to create objects in javascript

Choices:
- new keyword
- object.create()
- create.object()
- Both a and b


Question:
What will be the output for the following code snippet

     for(let i=1; ;i++)
     {
            Let data= i*5;
            console.log(data)
            if(data>=30)
            break;
      }

Choices:
- Infinite loop
- 5 10 15 20 25 30
- 5 10 15 20 25
- 5 10 15 20 25 30 35


Question: Which data structure is used to maintain a key-value pair in javascript

Choices:
- set
- array
- Map
- strings


Question: Which method is used to insert a new element at the end of an array

Choices:
- unshift()
- push()
- pop()
- None of the above


Question: What will be the output of the following code?const firstName='Rishi'lastName='Raj'console.log(`hello ${firstName}, nice to meet you`);

Choices:
- hello ${firstName}, nice to meet you
- hello Rishi, nice to meet you
- hello Raj, nice to meet you
- None of the above


Question:
What will be the output of the following code snippet
    const str1=’Geeksfor’
    const str2=’Geeks’
    const str3=str1.concat(str2)
    console.log(str3)

Choices:
- GeeksforGeeks
- GeeksGeeksfor
- undefined
- None of the above


Question:
What will be the output of the following code snippet
    const str1=’GeeksforGeeks’
    const str2=str1.slice(2,5)
    console.log(str2)

Choices:
- eks
- eksf
- Geek
- Geeksf


Question: Which of the following is the correct syntax for array declaration

Choices:
- const arr={1,2,3,4}
- const arr=[1,2,3,4]
- Both a and b
- None of the above


Question: What is the function of findIndex() method

Choices:
- Returns the index of all the element that passes the condition
- Returns the index of the last element that passes the condition
- Returns the index of the first element that passes the condition
- None of the above


Question: Which of the following is the pop() method does?

Choices:
- Display the first element
- Decrements length by 1
- Increments length by 1
- None of the mentioned


Question: Which function of an Array object calls a function for each element in the array?

Choices:
- forEach()
- every()
- forEvery()
- each()


Question:
What will be the output of the following code
    const arr=[1,2,3,4,5,6]
    console.log(arr.pop())

Choices:
- 1
- 2
- 1 2 3 4 5
- 6


Question:
What will be the output of the following code
    const arr=[‘arun’,’rishi’,’shivam’,’raj’]
    console.log(arr.sort())

Choices:
- [‘arun’, ’raj’, ’rishi’, ’shivam’]
- [’raj’, ‘arun’, ’rishi’, ’shivam’]
- [’rishi’, ’shivam’, ‘arun’, ’raj’]
- [‘arun’, ’rishi’, ’raj’, ’shivam’]


Question:
What will be the output of the following code
    const arr=[1,2,3,4,5,6]
    console.log(arr.slice(1,3))

Choices:
- [2, 3]
- [2, 3, 4]
- [2]
- [1, 2]


Question: Which among the following is the correct way in HTML to insert an image?

Choices:
- Geeksforgeeks
- <img src=“https://bit.ly/2FicgIx” alt=“Geeksforgeeks”>
- <image src=“https://bit.ly/2FicgIx” alt=“Geeksforgeeks”></image>


Question:
What will be the output of the following code
    const arr=[1,2,3,3,3,4,5,6]
    const arr2=arr.filter((data)=>{return data!==3})
    console.log(arr2.length)

Choices:
- 8
- 5
- 6
- 3


Question:
What will be the output of the following code snippet
    const arr=[1,2,3,4,5]
    console.log(...arr)

Choices:
- [1 2 3 4 5]
- ...[1 2 3 4 5]
- 1 2 3 4 5
- ...1 2 3 4 5


Question: Which of the following elements can be used in HTML to create a table?

Choices:
- <table> , <tbody> , <trow>
- <table> , <tb> , <trow>
- <table> , <tbody> , <tr>
- All of the above


Question: Which of the following represents loops in javascript

Choices:
- for
- while
- forEach
- All of the above


Question: Which tag is used for creating a drop-down selection list?

Choices:
- <select>
- <option>
- <dropdown>
- <list>


Question: What is the font-size of the h1 heading tag?

Choices:
- 3.5 em
- 2.17 em
- 2 em
- 1.5 em


Question: How many heading tags are there in HTML5?

Choices:
- 2
- 3
- 5
- 6


Question: Which of the following are specific to first-class functions

Choices:
- Functions are treated as simply values
- Stores functions in variables and properties
- Returns functions from functions
- All of the above


Question: How many attributes are there in HTML5?

Choices:
- 2
- 4
- 1
- None of the Above


Question: Which of the following attributes is used to add link to any element?

Choices:
- link
- ref
- href
- newref


Question: Which of the following is the correct way of creating an hyperlink in HTML?

Choices:
- <a>www.geeksforgeeks.org <Geeksforgeeks /a>
- <a href=“www.geeksforgeeks.org” Geeksforgeeks /a>
- Geeksforgeeks


Question: What is the correct precedence of the operator in javascript


Question:
What will be the output of the following code snippet
let gfg = ”GeeksforGeeks”
console.log(gfg.charAt(4))

Choices:
- o
- f
- k
- s


Question:
What will be the output of the following code snippet

     let gfg=”GeeksforGeeks”
     console.log(gfg.indexOf(‘G’))

Choices:
- 8
- 0
- -1
- 2


Question: Which of the following represent falsy values in javascript

Choices:
- false
- undefined
- All of the above


Question: Which of the following represent truthy values in javascript

Choices:
- true
- All of the above


Question:
What will be the output of the following code snippet
     let data=’false’;
     data?console.log(‘first statement’):console.log(‘second statement’);

Choices:
- first statement
- Second statement
- Can’t say
- None of the above


Question: The advantages of using strict mode in javascript are

Choices:
- Strict mode eliminates some JavaScript silent errors by changing them to throw errors.
- It disables features that are confusing or poorly thought out.
- Strict mode makes it easier to write “secure” JavaScript.
- All of the above


Question: Which tag is used to add an header in HTML5 table?

Choices:
- <theader>
- <h1>
- <th>
- <header>


Question: What is the type of variable data declare below const data=[ ]

Choices:
- Array
- object
- string
- None of the above


Question: How do we add a comment in CSS file?

Choices:
- Geeksforgeeks
- / Geeksforgeeks /
- /*Geeksforgeeks*/
- //*Geeksforgeeks*//


Question: If "padding: 10px 5px 20px 0px" is given. What does this represent?

Choices:
- left:10px , top:5px , right:20px , bottom:0px
- top:10px , right:5px , bottom:20px , left:0px
- right:10px , bottom:5px , left:20px , top:0px
- bottom:10px , left:5px , top:20px , right:0px


Question: What is the correct representation to change the color of h2 element?

Choices:
- h2 { background-color: #008000 }
- {h2 background-color: #008000}
- h2.all{ background-color: #008000 }
- {h2.all background-color: #008000}


Question: Which is the correct syntax to set the unordered-list item marker to a square.

Choices:
- <ul style=“list-style-type:square”>
- <ul style=“square”>
- <ul list-style: “square”>
- <ul style=square>


Question: Where in HTML document is the conventionally correct place to put reference to an external style sheet?

Choices:
- In the HEAD section
- In the BODY section
- Both of the Above
- None of the Above


Question: What is the default margin of the body element?

Choices:
- 10px
- 8px
- 12px
- 6px


Question: What is the correct CSS syntax to make all paragraph (p) elements bold?

Choices:
- {p font-size:bold;}
- p{font-weight :bold;}
- <p style=“font-size=bold;”>
- None of the Above


Question: What is the purpose of using div tags in HTML?

Choices:
- For creating Different styles.
- For creating different sections.
- For adding headings.
- For adding titles.


Question: Which of the following tags is used to make a portion of text italic in HTML?

Choices:
- <italic>
- <style= “i”>
- <i>
- <style=“italic”>


Question: Which of the following tags is used to add a line-break in HTML?

Choices:
- <br>
- <break>
- </break>
- </br>


Question: Which of the following attributes is used to open an hyperlink in new tab?

Choices:
- tab
- href
- target
- ref


Question: Which of the following is the correct way to add background color in HTML?

Choices:
- <body color = “green”>
- <body bg-color = “green”>
- <body style = “background-color=green”>
- <body style = “background-color: green;”>


Question: Which among the following is correct HTML code for making a checkbox?

Choices:
- <checkbox>
- <input type="checkbox">
- <check>
- <input type="check">


Question: An object is an unordered collection of _______.

Choices:
- values
- names
- Properties
- All of the above


Question: Which of the following are specific to higher class functions

Choices:
- A function that receives another function and returns a new function or both
- Stores functions in variables and properties
- Returns functions from functions
- All of the above


Question:
Consider the three commands : PROMPT, HEAD and RCPT.
Which of the following options indicate a correct association of these commands with protocols where these are used?

Choices:
- HTTP, SMTP, FTP
- FTP, HTTP, SMTP
- HTTP, FTP, SMTP
- SMTP, HTTP, FTP


Question: What will be the output of the following code: let geeks = {    name : "ABC",    printFunc: function() {        console.log(this.name);   } }let printFunc2 = geeks.printFunc;printFunc2();

Choices:
- No output
- ABC
- Can’t say
- None of the above


Question:
In a web server, ten WebPages are stored with the URLs of the form http://www.yourname.com/var.html; where, var is a different number from 1 to 10 for each Webpage. Suppose, the client stores the Webpage with var = 1 (say W1) in local machine, edits and then tests. Rest of the WebPages remains on the web server. W1 contains several relative URLs of the form “var.html” referring to the other WebPages.

Which one of the following statements needs to be added in W1, so that all the relative URLs in W1 refer to the appropriate WebPages on the web server?

Choices:
- <a.href: “http://www.yourname.com/”, href: “...var.html”>
- <base href: “http://www.yourname.com/”>
- <a.href: “http://www.yourname.com/”>
- <base href: “http://www.yourname.com/”, range: “...var.html”>


Question:
Consider an XML file called intro.xml and a document type definition (DTD) file intro.dtd as follows:intro.xml<?xml version = "1.0"?>

<!DOCTYPE myMessage SYSTEM "intro.dtd"›

<myMessage>

<message>Welcome to XML</message>

</myMessage>

intro.dtd

<! ELEMENT myMessage (message)>

<! ELEMENT message (#PCDATA)>
A validating parser will classify intro.xml as

Choices:
- Well-formed and validated
- Well-formed but not validated
- Validated but not well-formed


Question:
Given below are several usages of the anchor tag in HTML.
  Test Me   Test Me   Test Me   Test Me
Which of the above are valid?

Choices:
- I and II only
- I and III only
- I, II and III only
- I, II, III and IV


Question: A HTML form is to be designed to enable purchase of office stationery. Required items are to be selected (checked). Credit card details are to be entered and then the submit button is to be pressed. Which one of the following options would be appropriate for sending the data to the server. Assume that security is handled in a way that is transparent to the form design.

Choices:
- Only GET
- Only POST
- Either of GET or POST
- Neither GET nor POST


Question:
Given below is an excerpt of an xml specification.
<Book>
<title> GATE 2005 </title>
<type value = "BROCHURE"/>
<accno>10237623786</accno>
</Book>
<Book>
<type value = "FICTION"/>
<accno>0024154807</accno>
</Book>

Given below are several possible excerpts from "library.dtd". For which excerpt would the above specification be valid?

Choices:
-
<!ELEMENT Book (title+, type, accno)>
<!ELEMENT title (#PCDATA)>
<!ELEMENT type EMPTY>
<!ATTLIST type value (BROCHURE/FICTION/TECHNICAL)>
<!ELEMENT accno (#PCDATA)>
-
<!ELEMENT Book (title?, type, accno)>
<!ELEMENT title (#PCDATA)>
<!ELEMENT type ATTLIST>
<!ATTLIST type value (BROCHURE/FICTION/TECHNICAL)>
<!ATTLIST accno value (#PCDATA)>
-
<!ELEMENT Book (title*, type, accno)>
<!ELEMENT title (#PCDATA)>
<!ELEMENT type ATTLIST>
<!ATTLIST type value (BROCHURE/FICTION/TECHNICAL)>
<!ELEMENT accno (#PCDATA)>
-
<!ELEMENT Book (title?, type, accno)>
<!ELEMENT title (#PCDATA)>
<!ELEMENT type EMPTY>
<!ATTLIST type value (BROCHURE/FICTION/TECHNICAL)>
<!ELEMENT accno (#PCDATA)>


Question: HELO and PORT, respectively, are commands from the protocols

Choices:
- FTP and HTTP
- TELNET and POP3
- HTTP and TELNET
- SMTP and FTP


Question:
Consider the XML document fragment given below:
Consider the XPath expression: *[not (self ) : : TOC]
What would be the result of the given XPath expression when the current node is Book?

Choices:
- The Title and Content elements
- The Content and TOC elements
- The Title and TOC elements
- The Title, Content and TOC elements


Question:
Consider the XML document fragment given below:
With reference to the HTML lines given above, consider the following statements.

1. Clicking on the point <80, 75> does not have any effect.
2. The web browser can identify the area applicable to the mouse-click within the image and the subsequent action to be taken without additional responses from the web server.
3. The dots in the cgi-bin URL will be resolved by the web browser before it is sent to the web server
4. The "fd.html" request when sent to the web server will result in a GET request.
Exactly how many of the statements given above are correct?

Choices:
- 0
- 1
- 2
- 3


Question: Which of the following is TRUE only of XML but NOT HTML?

Choices:
- It is derived from SGML
- It describes content and layout
- It allows user defined tags
- It is restricted only to be used with web browsers


Question:
Consider the following HTML table definition:

The above HTML code would render on screen as:

Choices:
- (1)
- (2)
- (3)
- (4)


Question:
Which of the following statements is/are TRUE ?
(a) In HTML, character entities are used to incorporate external content into a web page, such as images.
(b) Once a web server returns a cookie to a browser, the cookie will be included in all future requests from the browser to the same server.

Choices:
- Only (a) is TRUE.
- Only (b) is TRUE.
- Both (a) and (b) are TRUE.
- Neither (a) nor (b) is TRUE.


Question: XPath is used to navigate through elements and attributes in

Choices:
- XSL document
- XML document
- XHTML document
- XQuery document


Question: Choose the most appropriate HTML tag in the following to create a numbered lists.

Choices:
- < dl >
- < ul >
- < li >
- < ol >


Question: Which of the following HTML code will affect the vertical alignment of the table content?

Choices:
- (1)
- (2)
- (3)
- (4)


Question:
What can you say about the following statements ?
I. XML tags are case-insensitive.
II. In JavaScript, identifier names are case-sensitive.
III.Cascading Style Sheets (CSS) cannot be used with XML.
IV. All well-formed XML documents must contain a document type definition.

Choices:
- only I and II are false.
- only III and IV are false.
- only I and III are false.
- All are incorrect.


Question: Which of the following is TRUE only for XML but NOT HTML?

Choices:
- It is derived from SGML
- It describes content and layout
- It allows user defined tags
- It is restricted only to be used with web browsers


Question: To add a background color for all h1 elements, which of the following HTML syntax is used

Choices:
- h1 { background-color :#FFFFFF}
- { background-color :#FFFFFF} . h1
- h1 { background-color :#FFFFFF} . h1(all)
- h1. all{bgcolor= #FFFFFF}


Question: To declare the version of XML, the correct syntax is

Choices:
- <*xml version=\'1.0\'/>


Question: Which of the following tag in HTML is used to surround information, such as signature of the person who created the page ?

Choices:
- / /g, ">"
- <address> </address>


Question: Which of the following statements is not correct?

Choices:
- HTML is not screen precise formatting language.
- HTML does not specify a logic.
- DHTML is used for developing highly interactive web pages.
- HTML is a programming language.


Question:
Which of the following statements are true with reference to the way of describing XML data?
(a)XML uses DTD to describe the data
(b)XML uses XSL to describe the data
(c)XML uses a description node to describe the data
Codes:

Choices:
- (a) only
- (b) only
- (a) and (b)
- (a) and (c)


Question: In HTML, which of the following can be considered a container?

Choices:
- SELECT
- Value
- INPUT
- BODY


Question: __________ tag is an extension to HTML that can enclose any number of Javascript statements.

Choices:
- < SCRIPT >
- < BODY >
- < HEAD> >
- < TITLE >


Question: In XML we can specify the frequency of an element by using the symbols:


Question: In XML, DOCTYPE declaration specifies to include a reference to __________ file.

Choices:
- Document type Definition
- Document type declaration
- Document transfer definition
- Document type language


Question: Which of the following characters indicate closing of a tag?


Question: The behaviour of the document elements in XML can be defined by

Choices:
- Using document object
- Registering appropriate event handlers
- Using element object
- All of the above


Question:
Which of following statements is/are False?

1. XML overcomes the limitations in HTML
   to support a structured way of organizing content.

2. XML specification is not case sensitive while
   HTML specification is case sensitive.

3. XML supports user defined tags while HTML
   uses pre-defined tags.

4. XML tags need not be closed while HTML
   tags must be closed.

Choices:
- 2 only
- 1 only
- 2 and 4 only
- 3 and 4 only


Question: What is the function of the bind method

Choices:
- bind an object to a common function, so that the function gives different result when its need
- Bind two different objects into one
- Both a and b
- None of the above


Question:
Consider the HTML t able definition given below:

 ab
 cd

 ef
 gh

  ik

The number of rows in each column and the number of columns in each row are:

Choices:
- (2, 2, 3) and (2, 3, 2)
- (2, 2, 3) and (2, 2, 3)
- (2, 3, 2) and (2, 3, 2)
- (2, 3, 2) and (2, 2, 3)


Question: Which of the following is an advantage of putting presentation information in a separate CSS file rather than in HTML itself?

Choices:
- The content becomes easy to manage
- Becomes easy to make site for different devices like mobile by making separate CSS files
- CSS Files are generally cached and therefore decrease server load and network traffic.
- All of the above


Question: What will be the output of the following code: let geeks = {    name : "ABC",    printFunc: function() {        console.log(this.name);   } }let printFunc2 = geeks.printFunc;printFunc2();

Choices:
- No output
- ABC
- Can’t say
- None of the above


Question: What will be the output of the following code:var geeks = {    name : "ABC",    printFunc: function(){        console.log(this.name);   } }var printFunc2 = geeks.printFunc.bind(geeks);

Choices:
- No output
- ABC
- Can’t say
- None of the above


Question: What will be th output of the following code //object geeks1 var geeks1 = { name : "ABC", article: "C++" } //object geeks2 var geeks2 = { name : "CDE", article: "JAVA" } //object geeks3 var geeks3 = { name : "IJK", article: "C#" } function printVal(){ document.write(this.name+" contributes about "+this.article+"<br>"); } var printFunc2= printVal.bind(geeks1); //using bind() // bind() takes the object "geeks1" as parameter// printFunc2(); var printFunc3= printVal.bind(geeks2); printFunc3(); var printFunc4= printVal.bind(geeks3); printFunc4(); //uniquely defines each objects

Choices:
- ABC contributes about C++ CDE contributes about JAVA IJK contributes about C#
- ABC contributes about C++ No output IJK contributes about C#
- ABC contributes about C++ CDE contributes about JAVA No output
- None of the above


Question: What does IIFE stands for in javascript

Choices:
- Invoked Immediately Functions Expressions
- Immediately Invoked Functions Expressions
- Both a and b
- None of the above


Question: Which of the following is true about IIFE’s

Choices:
- IIFEs have their own scope i.e. the variables you declare in the Function Expression will not be available outside the function.
- Similar to other functions IIFEs can also be named or anonymous, but even if an IIFE does have a name it is impossible to refer/invoke it.
- IIFEs can also have parameters
- All of the above


Question: The correct syntax of IIFE is

Choices:
-
(function (){
// Function Logic Here.
})();
-
function (){
// Function Logic Here.
}();
-
function (){
// Function Logic Here.
}
- All of the above


Question: Which of the following are important features of javascript

Choices:
- dynamic
- Single threaded
- Garbage collection
- All of the above


Question: What does high level mean in the context of javascript

Choices:
- Developers don\'t need to manage resources manually. Everything happens Automatically
- The mechanism in js automatically removes unnecessary things from the memory
- Functions are simply treated as variables
- None of the above


Question: What does Garbage-collection mean in the context of javascript

Choices:
- Developers don\'t need to manage resources manually. Everything happens manually
- The mechanism in js which automatically removes unnecessary things from the memory
- Functions are simply treated as variables
- None of the above


Question: What is the javascript engine

Choices:
- A program that runs the javascript code
- A program that finds bugs in the javascript code
- Both a and b
- None of the above


Question: In js callstack refers to which of the following

Choices:
- Place where code is executed using execution context
- Where objects are stored
- Both a and b
- None of the above


Question: In js heap refers to which of the following

Choices:
- Place where code is executed using execution context
- Where objects are stored
- Both a and b
- None of the above


Question: What is a compilation?

Choices:
- Source code is converted to machine code and then to binary code after which the file is executed by the computer
- Running through the source code line by line and executing each line one by one
- Both a and b
- None of the above


Question: What is Interpretation?

Choices:
- Source code is converted to machine code and then to binary code after which the file is executed by the computer
- Running through the source code line by line and executing each line one by one
- Both a and b
- None of the above


Question: What is Interpretation?

Choices:
- Source code is converted to machine code and then to binary code after which the file is executed by the computer
- Running through the source code line by line and executing each line one by one
- Both a and b
- None of the above


Question: Which method is used by js to read the code

Choices:
- Compilation
- Interpretation
- The mix of compilation and interpretation
- None of the above


Question: Which of the following is true w.r.t. variables

Choices:
- Variables declared with let and const can’t be hoisted
- Variables declared with var can be hoisted
- Both a and b
- None of the above


Question: Event handlers are a type of

Choices:
- Interface
- Functions
- classes
- None of the above


Question: When is an event handler invoked by the browser

Choices:
- Refreshing the browser
- First time of loading a page
- When that specified event occurs
- All of the above


Question: ______ specifies the property of an event

Choices:
- type
- name
- value
- All of the above


Question: Events related to the browser window can be handled by

Choices:
- Onclicks
- querySelector
- Window
- None of the above


Question: Event that is fired while scrolling a scrollable document element

Choices:
- scroll
- window
- onClick
- None of the above


Question: How mouse drag events can be handled

Choices:
- Registering onclick handler
- Registering onHover handler
- Registering mousedown handler
- None of the above


Question: Which of the following is a window event

Choices:
- Focus and blur event
- Onclick events
- Both a and b
- None of the above


Question: getElementbyId is used to

Choices:
- Grab a particular element by is id
- Grab a particular element by its class
- Both a and b
- None of the above


Question: OnClick event is used to handle

Choices:
- Handle click events
- Handle change events
- Handle window size
- None of the above


Question: The ________ used to remove a binding

Choices:
- UnBind()
- unBind()
- unbind()
- None of the above


Question: HTML(Hypertext Markup Language) has language elements which permit certain actions other than describing the structure of the web document. Which one of the following actions is NOT supported by pure HTML (without any server or client side scripting)pages?

Choices:
- Embed web objects from different sites into the same page
- Refresh the page automatically after a specified interval
- Automatically redirect to another page upon download
- Display the client time as part of the page


Question: Which of the following HTML element is used for creating an unordered list?

Choices:
- <ui>
- <i>
- <em>
- <ul>


Question:
What is the output of the following code snippets:
<?php
	$output = array(3, 3, 3);
	echo array_product($a);
?>

Choices:
- 8
- 27
- 10
- 6


Question: How is document type initialized in HTML5.?

Choices:
- </DOCTYPE HTML>
- </DOCTYPE>
- <!DOCTYPE HTML>
- </DOCTYPE html>


Question: Which property in CSS is used to specify the size for the columns of implicitly generated grid containers ?

Choices:
- grid-auto-flow
- grid-gap-row
- grid-gap-property
- grid-auto-columns


Question: Which property is used to set the alignment of items inside the flexible container of CSS?

Choices:
- align-media
- align-items
- align-layout
- align-self


Question: Which property in CSS is used to set the spacing behavior between the text characters ?

Choices:
- letter-uppercase
- letter-justify
- letter-hyphens
- letter-spacing


Question: The property that defines the resampling for stretching images is:

Choices:
- image-mode
- image-rendering
- image-mode
- image-grid


Question: Which property in CSS is used to set the width of the padding area on the right of an element ?

Choices:
- padding-down
- padding-left
- padding-right
- padding-up


Question: Which function in CSS is used to set the linear gradient as the background image ?

Choices:
- absolute-gradient()
- relative-gradient()
- linear-gradient()
- custom-gradient()


Question: How do we determine that how many bits are used for gray display in CSS ?

Choices:
- Gray
- Chrome
- Monochrome
- All of the above


Question: Which selector is used to select an only readable elements?

Choices:
- :insert-only
- :save-only
- :write-only
- :read-only


Question: Which property is used to specify the width of the tab character ?

Choices:
- tab-color
- tab-element
- tab-size
- tab-width


Question: Which property in CSS is used to set the grid item size and location in a grid layout?

Choices:
- grid-area
- text-area
- input -area
- layout-area


Question: Which property in CSS is responsible for setting the difference between two lines ?

Choices:
- min-height property
- max-height property
- line-height property
- None of the above


Question: Which of the below the property is used to overflow the text in CSS?

Choices:
- text-shadow
- text-stroke
- text-overflow
- text-decoration


Question: Which below function in CSS is used to perform the calculation ?

Choices:
- cal() function
- calculator() function
- calculate() function
- calc() function


Question: Which of the below CSS property is used to set the origin of the background image in bootstraps ?

Choices:
- background-image
- background-origin
- background-size
- background-fix


Question: Which below CSS property best describes how an image or video fits into a container?

Choices:
- object-fit
- object-move
- position-hide
- All of the above


Question: Which below method is used to compute the difference between two arrays in PHP?

Choices:
- array_diff
- diff_array
- arrays_diff
- diff_arrays


Question: Which of the following method in PHP is used to get the current day and location?

Choices:
- date_sunrise()
- sunrise()
- date-sunrise()
- None of the above


Question:
What is the output of the below code snippets?<?php
 	$value="GeeksForGeeks";
 	echo strrev("$value");
?>

Choices:
- skeeGroFskeeG
- skeeGroFskeeO
- skeeGorFskeeG
- skeeForFskeeG


Question:
What is the output of the below code snippets?
<?php
	while()
	{
	echo "GeeksForGeeks";
	}
?>

Choices:
- Hello World
- Infinite loop
- no output
- Error


Question: Which of the following is used to calculate a number of character values in PHP?

Choices:
- count($variable)
- len($variable)
- strcount($variable)
- strlen($variable)


Question: Which of the following is not considered predefined values?

Choices:
- $get
- $ask
- $request
- $post


Question: Which of the following is true if you want to send input through the script in PHP?

Choices:
- Post
- Get
- All of the above
- None of the above


Question: The correct syntax for enclosing the PHP script are?

Choices:
- <PHPgt; </phpgt;
- <?PHP ?gt;
- ?PHP ?PHP
- <p?gt; </?pgt;


Question: How many types of filtering is present in PHP?

Choices:
- 2
- 3
- 4
- None


Question: Which inbuilt function in PHP is used to sort the element in Descending order?

Choices:
- sort()
- asort()
- dsort()
- rsort()


Question: In PHP if we put the element in the new line then which of the correct symbol is used?

Choices:
- \l
- \n
- /r
- /n


Question: Which of the below data is termed as the external data in PHP?

Choices:
- Cookies
- Web service data
- Server variables
- All of the above


Question: Which of the below CSS property is used to add a stroke in the text ?

Choices:
- text-stroke
- text-transform
- text-decoration
- None of the above


Question: Which built-in function in the PHP adds value to the end of the array?

Choices:
- this_array()
- is_array()
- while_array()
- are_array()


Question: Which element is used to represent the transparency of an element in CSS ?

Choices:
- Hover
- Opacity
- Transparent
- Overlay


Question: Which of the below CSS properties represent the order of flex items in the grid container ?

Choices:
- order
- float
- overflow
- All of the above


Question: Cloaking is a search engine optimization (SEO) technique. During cloaking

Choices:
- Content presented to search engine spider is different from that presented to user\'s browser
- Content present to search engine spider and browser is same
- Contents of user\'s requested website are changed
- None of the above


Question: Which of the below viewport in CSS is used to sets the initial scaling factor ?

Choices:
- scale
- initial-scale
- minimum-scale
- user-scale


Question: Which property of CSS is used to animate the width of search input when the element gets focus ?

Choices:
- Focus
- Transition
- Outline
- Color


Question: Which CSS property will we use to wrap a block of text with an image ?

Choices:
- Wrap
- Push
- Float
- Align


Question: Which css selector is used to defining the style for unique elements ?

Choices:
- id
- text
- class
- name


Question: Which properties in CSS used to selects an animation defined in the keyframes rule ?

Choices:
- animation
- animation-name
- animation-element
- None of the mentioned


Question: Which of the below CSS property should run in reverse on some cycles in animation ?

Choices:
- animation
- animation-run
- animation-repeat
- animation-direction


Question: Which function in CSS is used to insert a value for the custom property ?

Choices:
- calc()
- hsla()
- hsl()
- var()


Question: Which of the below CSS properties determine that the element of x-coordinate convert the position of the mask ?

Choices:
- mask-x-origin
- mask-y-origin
- mask-position-x
- mask-origin-y


Question: Which of the below is correct way for write comment in CSS code ?

Choices:
- /* content goes here  */
- // content goes here //
- / content goes here /
- <\'content goes here\'>


Question: Which of the below property in CSS is used to apply visual effects ?

Choices:
- Alpha
- BasicImage
- Blur
- Filter


Question: Which property in CSS is used to set the color of multicolumn text ?

Choices:
- column-color
- column-rule-style
- column-rule-color
- column-rule-decoration


Question: Which CSS value is responsible for the show the transition effect with a slow start, then fast, and end slowly ?

Choices:
- linear
- ease
- in
- out


Question: Which below selector is used to change the color of placeholder text?

Choices:
- ::margin Selector
- ::placeholder Selector
- ::constraint Selector
- ::layout Selector


Question: Which variable in CSS has been used to defines the data type of the content ?

Choices:
- content_type
- content_length
- content_value
- content_agent


Question: Which of the below property will rotate an element clockwise or counter-clockwise in CSS ?

Choices:
- matrix()
- skewX()
- skewY()
- rotate()


Question: Which of the below properties in CSS show a pop-up window that split into pieces when it is clicked ?

Choices:
- 3D movement effect
- Click and break it
- Blurred element
- Left bottom


Question: Which selector in CSS is used to select all elements that are given within a particular range value?

Choices:
- :invalid
- :long
- :in-range
- :last


Question: Which property in CSS is used the resize the element by the user?

Choices:
- Outline Offset
- Resize
- Unit
- Crop


Question: Which of the below selector in CSS is used to selects all elements of value E and attribute attr ?

Choices:
- E[attr^=value]
- E[attr$=value]
- E[attr*=value]
- E[attr%=value]


Question: Which of the below property in CSS is used to give a three diagonal sense of depth to an element ?

Choices:
- animation
- perspex
- sense
- perspective


Question: Which of the below is the abbreviation of CSS ?

Choices:
- Cascade sheets style
- Color and style sheets
- Cascading style sheets
- Coded Style Sheet


Question: Which of the following is the correct syntax to add the external stylesheet in CSS?

Choices:
- <style src = quiz.css>
- <style src = "quiz.css">
- <stylesheet> quiz.css </stylesheet>
- <link rel="stylesheet" type="quiz/css" href="quiz.css">


Question: Which of the below CSS properties is used to change the background color of CSS ?

Choices:
- bg color
- color-background
- background-color
- color


Question: Which of the below CSS class is used to change the text color of CSS ?

Choices:
- background-color
- color
- color-background
- None of the above


Question: Which of the below is the correct syntax to put a line over text in CSS?

Choices:
- text-decoration: line
- text-decoration: none
- text-decoration: overline
- text-decoration: underline


Question: Which below property of CSS is used to set the indentation of the first line in a block of text ?

Choices:
- text-indent property
- text-underlne-property
- text-decoration none
- text-overflow property


Question: How do we set the default width of the font in CSS ?

Choices:
- font-stretch
- font-weight
- text-transform
- font-variant


Question: Which of the following function is used to move the pointer to the previous array position?

Choices:
- last()
- before()
- prev()
- Previous()


Question: In the PHP the filesize()  function returns which of the following size?

Choices:
- bits
- bytes
- kilobytes
- gigabytes


Question: Which of the following is used to destroy the session?

Choices:
- session_start() function
- $_SESSION[]
- isset() function
- session_destroy function


Question: How many ways are there with which we can declare a variable in javascript?

Choices:
- Only one
- Three
- Infinitely many
- None of the above


Question: Is a variable named \'apple\' same as \'Apple\' in javascript?

Choices:
- Yes
- No
- Only when we use \'strict\'
- None of the above


Question: Which of the following variable names are correct according to javascript? (Multiple Choices may be correct)

Choices:
- let 1name;
- let #name;
- let _name;
- let $_name;


Question: What will be the output of the following code?< script >document.write( typeof( '1' + 2) );</ script >

Choices:
- 'boolean'
- 'string'
- 'number'
- None of the above


Question: What will be the output of the following code?< script>let ans = 6 / "3";document.write ( typeof ans );< /script>

Choices:
- None of the above
- 'number'
- 'integer'
- 'string'


Question:
What is the correct JavaScript syntax to change the content of the HTML element below?

May the code be with you.

``````Javascript

Choices:
- document.getElementById("demo").innerHTML = "Hola!";
- document.getElement("p").innerHTML = "Hola!";
- #demo.innerHTML = "Hola!";
- document.getElementByName("p").innerHTML = "Hola!";


Question: Which of the following javascript functions allows you to get user input data?

Choices:
- alert
- prompt
- confirm
- None of the above


Question: Which logical operator only accepts a single operand?

Choices:
- &&(AND)
- ||(OR)
- !(NOT)
- None of the above


Question:
What will be the result of the following code?

<script>
  document.write( true && 1 && 3);
</script>

``````Javascript

Choices:
- 0
- 1
- true
- 3


Question:
What will be the output of the following code?

 <script>
   document.write((0 && 1) || (1 || 0));
 </script>

``````Javascript

Choices:
- 0
- false
- true
- 1


Question:
What will be the output of the following code?

<script>
 let ans = 0 / 0;
 document.write(ans);
</script>

``````Javascript

Choices:
- 0
- infinity
- NaN
- None of the above


Question:
What will be the output of the following code?

<script>
 let i = 30;
  if( i == 10 || i > 20){
    console.log(\'Hola\');
  }else if( i == 5){
    console.log(\'Breaking up the code\');
  }else{
    console.log(\'Adios\');
 }
</script>

``````Javascript

Choices:
- Hola
- Breaking up the code
- Adios
- None of the above


Question:
What will be the output of the following code?

 <script>
   let ans = 1;
   document.write( ans === \'1\');
 </script>

``````Javascript

Choices:
- true
- false
- 0
- None of the above


Question:
What will be the output of the following code?

 <script>
  let age = 20;
  let result = age>18 ? \'Great\' : \'Not so great\';
  document.write(result);
 </script>

``````Javascript

Choices:
- Great
- Not so great
- true
- None of the above


Question:
What will be the output of the following code?

<script>
  let y = 1;
  y = typeof x;
  document.write(typeof y);
</script>

``````Javascript

Choices:
- string
- null
- number
- boolean


Question:
What will be the output of the following code?

 <script>
    var x = [typeof x, typeof y][1];
    document.write(typeof typeof x);
 </script>

``````Javascript

Choices:
- undefined
- string
- number
- boolean


Question: What is the full form of CSS?

Choices:
- Color style sheet
- Cascading style sheet
- Creative style sheet
- Concatenated style sheet


Question: How many different styling techniques are used in CSS?

Choices:
- 2
- 3
- 4
- 1


Question: Which HTML element is used for Important text?

Choices:
- <box>
- <important>
- <strong>
- <i>


Question: Which among the following is a correct way to open a Hyperlink in new tab?


Question: Using padding clears the area outside:

Choices:
- Border
- Content
- Margin
- All of the above


Question: Which one of the following is the correct way of adding Inline styles.

Choices:
- Geeksforgeeks
- <p inline style=“font-size:16px”>Geeksforgeeks</p>
- <p inline style=“font-size 16px”>Geeksforgeeks</p>
- Geeksforgeeks


Question: Which HTML tag is used for internal style sheet?

Choices:
- Internal
- Style
- CSS
- Internal Style