1. The complexity of multiplying two matrices of order m*n and n*p is

A. mnp

B. mp

C. mn

D. np

2. The data structure required for Breadth First Traversal on a graph is

A. queue

B. stack

C. array

D. tree

3. The postfix form of A*B+C/D is

A. *AB/CD+

B. AB*CD/+

C. A*BC+/D

D.ABCD+/*

4. A min heap is the tree structure where smallest element is available at the

A. leaf

B. root

C. intermediate parent

D. any where

5. The elements are removal from a stack in_________order

A. Reverse

B. Hierarchical

C. Alternative

D. Sequential

Other Related Questions

Synonyms

Directions: In the following the questions choose the word which best expresses the meaning of the given word 1. Recall A. Speak B. Receive C. Face D. Remember View Answer Answer: D: Remember Hide Answer 2. Juvenile A. Hidden B. Young C. Humorous D. Tedious View Answer Answer: B. Young Hide Answer 3. Jeopardy A. Magic B. Adventure C. Enmity D. Danger View Answer Answer: D. Danger Hide Answer 4 …

Mastering Spring Boot: From Basics to Advanced(Part 2, Chapter 5)

Table of Contents Table of Contents Chapter 5: Spring Boot Auto-Configuration Auto-configuration is one of Spring Boot’s most powerful capabilities, as it dramatically simplifies application development. In this chapter, we will look at what auto-configuration is, how it works, and how to modify it to meet specific needs. Real-life examples will demonstrate its practical uses. 1. What is Auto-Configuration? Spring Boot’s auto-configuration automatically configures your application depending on the libraries …

Introduction to Collections Framework

Introduction to Collections Framework The Java Collections Framework (JCF) is a fundamental component of the Java programming language, designed to provide a standardized approach to data collections. It supports a variety of data structures, including lists, sets, queues, and maps, as well as algorithms for sorting, searching, and shuffling. Key Components of the Collections Framework: 1. Core Interfaces: Collection: Collection is the root interface for a set of objects known …

Introduction to Collections Framework

Introduction to Collections Framework Introduction to Collections Framework The Java Collections Framework (JCF) is a fundamental component of the Java programming language, designed to provide a standardized approach to data collections. It supports a variety of data structures, including lists, sets, queues, and maps, as well as algorithms for sorting, searching, and shuffling. Key Components of the Collections Framework: 1. Core Interfaces Collection: Collection is the root interface for a …

Debugging Techniques

Debugging Techniques in Java Debugging Techniques Debugging is an essential skill for any Java developer because it entails discovering and correcting issues that prevent a program from functioning properly. Effective debugging not only helps to resolve urgent difficulties, but it also helps to understand program flow and improve code quality. Here’s a detailed look at the numerous debugging techniques in Java: 1. Using Print Statements (Manual Debugging) A simple way …

Exception Handling

Exception Handling in Java Exception Handling Exception handling is an important feature in Java that allows developers to identify, handle, and recover from runtime failures effectively. These mistakes, known as exceptions, might arise for a variety of reasons, including improper user inputs, file processing issues, network errors, or resource limitations. 1. What is an Exception? An exception is a condition that interrupts the normal flow of a program’s execution. It …

Inner Classes and Anonymous Classes

Inner and Anonymous Classes in Java Table of Contents 1. Inner Classes 2. Anonymous Classes Advantages of Inner and Anonymous Classes When to Use Inner Classes and Anonymous Classes Java supports the concept of nesting classes within other classes, often known as Inner Classes. They aid in logically grouping classes, enhancing readability, and offering better encapsulation. Furthermore, Anonymous Classes enable the rapid implementation of classes without explicitly declaring them, making …

Abstract Classes and Interfaces

Abstract Classes and Interfaces in Java Abstract Classes and Interfaces in Java Abstract classes and interfaces in Java are fundamental in object-oriented programming (OOP). Abstract classes allow partial implementation, while interfaces define contracts that classes must follow. 1. Abstract Classes An abstract class in Java is one that cannot be instantiated by itself. It provides as a foundation for subsequent classes. Abstract classes can include both abstract methods (without implementation) …
Categories: