1. Write the code to find the length of a string without using the string functions?
2. How many seconds will a 500-meter long train moving with a speed of 63 km/hour, take to cross a man walking at a speed of 3 km/hour in the direction of the train?
42
50
30
28
answer ->>c
3.What is the fill factor in SQL? What is its default value?
4.What is Root Partition in OS?
The root partition is the place where the operating system kernel is located. Other potentially crucial system files that are mounted during boot time are contained in it as well.5.How will you print the address of a variable without using a pointer?
We may acquire the address of any variable by using the “address of operator” (&) operator, which yields the variable's address.6.What is Bootstrap?
Bootstrap is an HTML, CSS & JS Library that focuses on simplifying the development of informative web pages (as opposed to web apps). The primary purpose of adding it to a web project is to apply Bootstrap's choices of color, size, font and layout to that project.7. What is Inheritance in Java ?
Inheritance in Java is a mechanism in which one object acquires all the properties and behaviors of a parent object. It is an important part of OOPs (Object Oriented programming system).The idea behind inheritance in Java is that you can create new classes that are built upon existing classes. When you inherit from an existing class, you can reuse methods and fields of the parent class. Moreover, you can add new methods and fields in your current class also.
8. Java Program to Check a Leap Year?
import java.util.Scanner;9.What is the OSI Model?
Developed in 1984, the Open Systems Interconnection or OSI model is a seven-layer model used to describe networking connections. It was initially developed by ISO, the International Organization for Standardization in 1984 and is now common practice for learning networking concepts.The OSI models specifies how information is transmitted from a network device like a router to its destination through a physical medium and how it interacts with the application. In other words, it provides a standard for different systems to communicate with each other.
10.What are the basic pillars of Oops?
The Four Pillars of Object-Oriented ProgrammingAbstraction.
Encapsulation.
Inheritance.
Polymorphism.
Post a Comment
0 Comments