What is the difference btween compilation and execution?
They are similar
make = create something
compile = implies you are using other things and putting them together to create something eg. lists for reference something made can have been compiled, but might not
something compiled is also made
Is backup the process of dividing the disk into tracks and sectors?
No, backup is most certainly not that. Formatting is the process fo dividing the disk into tracks and Sectors.
The meaning of if in C language?
if is a like a choice
e.g.
if (x==1) if x is equal to 1 then it will print "x=1"
{
printf("x=1);
}
else
{
printf("x does not =1")
}
Answer: If is an identifier, if is a statement.
Conversion of binary to octal?
Binary is a base 2 number system, while octal is base 8. This happens to make conversion between binary and octal fairly trivial, although more complex than conversion to hexadecimal. To convert to octal from binary, take each three bits, starting from the least significant bit, and convert them to their octal equivalent.
Examples:
25510 = 111111112 = 11 111 111 = 3778
17410 = 101011102 = 10 101 110 = 2568
You can repeat this process for as many bits as you need. A 24-bit number should translate into 8 octal numbers, for reference.
Does artificial intelligence work?
Yes Artificial Intelligence works but there is not any certain way in which it works. There are many definitions of Artificial Intelligence in which one of them is a computer problem that needs to be solved with a high level of intelligence. Many AI researchers have discovered many different approaches to solve the problems in different areas such as gaming, medical , engineering . But the Question is that How Artificial Intelligence Work ? So for understanding this first of we have to understand what is AI. Basically there are three types of AI :-
1. Easy AI :- Easy AI is Logic based, following rules for example programming with math rules.
2. Hard AI:- In Hard AI we deals with much complex data systems like face Recognizing in which computer has given super wiser signals due to which it distinguishes between two individual faces, hardware acceleration, so is basically machinering from data.
3. Really Hard AI :- Really Hard AI is about machines taking as many as characteristics of human like sensory perception, decision making, things like cognition or emotion this is really the stuff that movies are made of , like people being replaced by robots or like robots and machines are to be converged.
So these are the fields in which AI works accordingly.
because people wanted to sing and make speaches
No, because some people wanted to speak louder
What is an expanded data processing cycle?
The data processing cycle is used anywhere data has to be input and processed in order to achieve a desired output. That output may be then used as input for additional processing, repeating the cycle. During processing, data is also stored for later use, whether to be processed along with new input or to provide input for other processes, thus creating new output.
The expanded cycle is the same, the only difference being that data has to be originated before being input, while the output has to be distributed. The originated data is known as the source document, which could be something as simple as an appointment booking form that you fill in. The data from that document is then input and processed (and stored), and the output is distributed in the form of report documents, which could be as simple as a letter telling you when your appointment is, a copy of which will be kept on file along with the source document. When you come to attend your appointment, your report document becomes the source document, which is then input and processed, and the output distributed, confirming your attendance for the appointment. During the appointment, new data is originated, thus starting the cycle all over again.
What is Thread Synchronization?
Thread synchronization requires that a running thread gain a "lock" on an object before it can access it. The thread will wait in line for another thread that is using the method/data member to be done with it. This is very important to prevent the corruption of program data if multiple threads will be accessing the same data. If two threads try to change a variable or execute the same method at the same, this can cause serious and difficult to find problems. Thread synchronization helps prevent this.
programming syntax is defined as a predefined pattern in which the program is written. for example:-
the programming syntax in c is as:
#include<headerfile or prototype> as per need.
global declaration.
main function or(void main)
{
body of coding; //comments
}
user defined functions()
{
coding; //comments
}
Which protocol lacks support for encryption and can be initiated from a computer command prompt?
i think is Telnet
Many programming languages, operating systems, and other software development environments support what are called "threads" of execution. Threads are similar to processes, in that both represent a single sequence of instructions executed in parallel with other sequences, either by time slicing or multiprocessing. Threads are a way for a program to split itself into two or more simultaneously running tasks. (The name "thread" is by analogy with the way that a number of threads are interwoven together)
Can you define a constructor as private?
I dont think we can have Protected Constructors but yes we can have Private constructors.
We can declare the constructor as Private to ensure that no other class can instantiate it. We use this in the singleton design pattern
What is the minimum number of comparisons in bubble sort?
A bubble sort may have a range from O(n-1) for a pre-sorted array, to O(n2-n) for a poorly implemented bubble sort algorithm.
Given 20 elements, a best case scenario is 19 comparisons, and the worst case is 380 comparisons.
Name 2 errors that can occur during meiosis?
They include: incorrect copying of the DNA sequence when the DNA is replicated before division, and errors during recombination. If an error occurs in a sperm or an egg, the individual created from that gamete will have the change in every cell of their body.
What is class in oops concept?
Classes are the integral part of the all-important programming paradigm known as Object-Oriented Programming(OOP). In OOP, a programming problem is perceived as a problem in a real-life scenario, as an interaction between objects. The problem is tackled by having a system of interacting objects, that interact among themselves to solve the programming problem. Objects in OOP bear semblance to real-life objects. Classes serve as templates for the creation of objects of the same type. For instance, students may be thought to be objects of the human-being class, cars may be thought to be objects of the Automobile class. Classes are defined as collection of methods(functions) and data members(variables), additionally defined by scope rules. In addition, classes also achieve the OOP principles of encapsulation, abstraction, polymorphism and inheritance. Encapsulation refers to binding data and code together, with data controlling access to code. Abstraction refers to the hiding the implementation details of a class from outside functions and exposing only necessary details. Polymorphism refers to the scenario when a class can play more than one role. Inheritance is used when one or more classes must include properties of another set of classes, and also have properties of their own.
Count the number of nodes of a binary tree having depth n?
Use the following formula: (2^n)-1. E.g., if the depth is 3, the number of nodes is (2^3)-1 = 8-1 = 7. Note that 7 is the maximum number of nodes, not the actual number of nodes. To count the actual nodes you must traverse the tree, updating an accumulator as you go.
What advantages does decision table have over decision tree?
could u send me the answers for the merits of the decision tables
Any kind of sequential program is not a good candidate to be threaded. An example
of this is a program that calculates an individual tax return. (2) Another example is a
"shell" program such as the C-shell or Korn shell. Such a program must closely
monitor its own working space such as open files, environment variables, and
current working directory.
it is a flow of charge practically from negative to positive terminal
What is the programming language used in SAP-ABAP?
Hi All,
SAP's ABAP programming language is used to create business applications in the SAP environment. Object-oriented programming is made feasible by the ABAP Objects component. ABAP is the programming interface of SAP NetWeaver's Application Server ABAP (AS ABAP).
In the ever-changing world of enterprise software, one technology has stood the test of time and remains in high demand: SAP ABAP. SAP Advanced Business Application Programming (ABAP) Is A Programming Language Used Within The SAP Ecosystem To Develop And Customise Applications. Despite the emergence of new programming languages and technologies, there is still a high need for SAP ABAP Course. And by obtaining legitimate training, you will understand its implementation in a much more detailed manner.
For More Information, Contact at - +91-9711526942
List three situations in which you might want to create a restore point?
1. Before you make major chages 2. Before you install a new program (incase it doesn't run, that way u can go back to the way the coputer was be for program was installed) 3. Before you replace a old program with a new one (the new one may not work as well as the old one)
How would you define artificial intelligence?
Hi All,
The replication of human intelligence functions by machines, particularly computer systems, is known as artificial intelligence. Expert systems, natural language processing, speech recognition, and machine vision are some examples of specific AI applications.
As you can see, employing AI/ML techniques has a tonne of advantages. For instance, using them makes it simple to address difficult issues. They are also capable of working without stopping and for an infinite amount of time. So, if you also want these advantages, you must implement AI tools in your business.
To learn about different ML tools in the market that you can use for doing recruitment of employees feel free to join our AI Courses Delhi.
For More Information, Contact at - +91-9711526942
What is state space search in artificial intelligence?
State space search in artificial intelligence refers to the systematic exploration of all possible states and transitions within a problem to find a solution. It involves navigating through a problem's state space, which represents the set of all possible states, using various search algorithms such as breadth-first search, depth-first search, uniform cost search, and A* search. The goal is to find an optimal or satisfactory solution by evaluating different paths and transitions in the state space.
In C programming, a pointer is a variable that stores the memory address of another variable. Pointers allow for indirect access to the value stored at the memory location pointed to by the pointer. They are commonly used for dynamic memory allocation, as well as for passing arguments to functions by reference. Pointers are declared using the '' operator, and the value stored in a pointer can be accessed using the '' operator as well.