Advantages of command driven interface?
A CLI interface can be implemented on far fewer resources. The CLI is far better for scripting and automated purposes, as well as issuing simple commands. Finally, a CLI interface is generally not subject to copyright, whereas GUIs are.
Difference between function and recursive variable?
A function can map for sets with infinite elements. Recursive variables, being 'algorithms of algorithms', are restricted to finite elements.
Draw a flowchart to find greater and smaller number from given two numbers?
It's not easy to show a flow chart using a text-based forum. Instead, I'll show the algorithm using pseudocode. You should be able to draw a flowchart from this.
Difference between portability and platform independent?
Platform independence refers to the fact that java compiled code (byte code) can execute on any operating system. A programme is written in a language that can be understood by humans. It could contain words, phrases, or other information that the system doesn't understand.... The Java Byte Code is the intermediate representation in Java.
To learn more about data science please visit- Learnbay.co
Explain event driven programming?
Let's say, I were to go create a button object for the program user to click on...; the button text might say.
[Click here]
...or,...
[Click here to see Help]
...or,...
[Click here to sort list]
-etc.
At first, the button would just simply sit there; and, therefore, the program would take no further action; except to wait for an 'event' to happen.
Whenever the user of my program clicks on that button; then, the button 'click event' will get triggered.
The users click might trigger off some other code to start working...such as, when the button is clicked on do this/or, do that...display a text message/or, sort list/ -etc.
Each seperate object has it's own list of possible events. For example, a button can have the following list of events...
button.Focus()
button.Click()
button.DoubleClick()
-etc.
so, the program waits to see what type of event is happenning, first ...and, when a certain type of event does, eventually, occur...then, this leads to more programming code getting executed.
This is how OOP/Object Oriented Programming languages...programming using objects/objects that are 'event driven' works.
What is insertion sorts in worst case time?
Best case for insertion sort is O(n), where the array is already sorted. The worst case, where the array is completely reversed, is O(n*n).
At least four differences between command line interface and graphical user interface?
The command line interface is just a type of GUI (Graphical User Interface) ie. windows 2000, xp, vista, 7. They all look different because of the different GUIs.
CLI(Command Line Interface) is more advanced, beginner users may struggle to use a CLI
GUI(Graphical User Interface) is more user friendly with graphics allowing mouse clicks etc.
CLI uses less computer resources due to being a simple command line so has its advantages over GUI.
GUI hogs more computer resources due to graphics etc.
CLI can be used to do more advanced commands and do alot of very technical processes.
GUI is very secure and offers users the things they need in plain site, point and click.
hashing algorithm contain two components - hashing function & collision.
hashing is mechanism which generally used in random file organization to convert the record key value into address.
Programs to implement operations on doubly linked list in C?
Stack is an abstract data type that allows you to input and output data in a way that the first data which was placed in the stack will be the last one to get out. We use physical examples of stack in our daily lives such as the stack of dishes or stack of coins where you only add or remove objects from the top of the stack.
You can see the whole source code implementing the stack in related links, below.
What is the state of an object in java?
Each Java object has varaibles - which in this case are called fields. They store information about the object. For example, a class to store a date might have "fields" to store the day, the month and the year. The values stored in these fields are collectively called the object's "state".
How do you download c programming software?
Visual C++ Express http://www.microsoft.com/exPress/ is the best place to get a full C++ IDE (Integrated Development Environment). There are many other IDEs around, but I find this is the best one.
Other IDEs:
Eclipse http://www.eclipse.org/cdt/
Code::Blocks http://www.codeblocks.org/
Bloodshed Dev-C++ http://www.bloodshed.net/devcpp.html
Is software engineering a branch of computer science?
Because it is a structured and systematic approach to building applications. Just like any other egineering discipline it has a planning stage
it has jargon and technical stages , it has conventions and measurement units. It involves the laying and combination of components , and he testing of their efficiency and sustainabibilty
What is the space complexity of shell sort?
average case worst case
LSD Radix sort O(n.k/s) O(n.k/s)
MSD Radix sort O(n.k/s) O(n.k/s.2^s)
n=no of items to be sorted
k=size of each key
s=chunk size used by implementation
LSD=Least Significant Digit
MSD=Most Significant Digit
What are the advantages and disadvantages of high level language?
Advantages
- more human-understandable, logical and easy-to-learn syntax that enables programmer to code more effectively
- portability - some of them can be hardware and OS indipendent, for example Java
Disadvantages
- they are usually slower than lower-lever languages, for example assembler is faster than C which is faster than C++ which is faster than c# or Java (on the same computer, of course)
Write a C program to calculate the sum of squares of numbers from 1 to N?
#include <iostream>
using namespace std;
int main()
{
int i,sum; // variables
sum = 0; // initialize sum
/* recursive addition of squares */
for (i = 1; i <= 30; i++)
sum = sum + (i * i);
cout << sum <<" is the sum of the first 30 squares."
<< endl;
return 0;
}
Bubble sort is a sorting algorithm that compares 2 adjacent items at a time, starting from the beginning of a list, and swapping them if they are out of sequence. Each comparison gradually moves the largest item to the end of the list (likened to a bubble making its way to the surface of water). After n*n passes, all the items will be sorted. The big O for a standard bubble sort is therefore O(n*n).
The algorithm can be improved somewhat. Since it is clear that the last item is sorted on each pass, the unsorted set can be reduced by 1 element on each pass. Moreover, since the final swap on each pass indicates that everything from that point on is already sorted, the unsorted set can often be reduced by more than 1 element on each pass. For an already sorted list, the worst case is reduced to O(n), constant time.
For small sets of data, perhaps 10 to 20 items, the bubble sort is reasonably efficient, especially on partially sorted lists. However the insert sort algorithm offers similar or better performance on average. With larger sets, the quick sort algorithm is hard to beat, but is let down by inefficiencies when dealing with partially sorted lists. Hybrid sorts can improve things a little, however, there is no efficient way to check the state of a list to determine the most efficient algorithm to use at any given point.
Basic operation of stack and Queue?
A stack is a data structure in which last item inserted is taken out first . That's why they are known as LIFO (last in first out). Inserting an item in stack is termed as push and taking an item out from stack I s termed as pop. Some applications of stack are : Polish notation, reversing string, backtracking , quick sort algorithm etc. The queue is a linear data structure where operations od insertion and deletion are performed at separate ends also known as front and rear. Queue is a FIFO structure that is first in first out. Whenever a new item is added to queue, rear pointer is used. and the front pointer is used when an item is deleted from the queue.
When can't i use SPSS and why?
The answer depends on the context.
Do python identifiers have to start with a letter or underscore?
Yes, that's the rule in Python (and in many other programming languages, as well).
What are the advantage and disadvantage of computer?
Nowadays computer have lot of advantages and also have some disadvantage.
The best way in all the components we need to take the advantages and don't consider the disadvantages. There are many implementations, innovations, Learning, Technology and till we going to meet Artificial Intelligence Computer soon. So, the world is move very faster than before. By using the computer with internet connectivity we can able to buy all things through online. In this case(Covid-19) situation makes everything possible from computer or mobile devices.
We can able to collect the data, buy something, searching for the best result, and storage purpose all these major operation get performed, Now, All we are moving to the machinery world, this is really works with the computer programming.
List of programming:
The best we takes the advantage and can able to earn money quickly or get a job easily. Evolution of computer and technology increase the job opportunity.
There are few Microsoft Certifications, in which CompTIA certifications are used as a proper exam. In MCSE Security, CompTIA certifications can be used as one of the elective exam.
CompTIA Certifications are vendor-neutral certifications.Microsoft includes CompTIA Network+ in their Microsoft Certified Systems Administrator (MCSA) program, and other corporations such as Novell, Cisco and HP also recognize CompTIA Network+ as part of their certification tracks.
Importance of algorithms in the field of computer science?
Algorithms are critical to the field of computer science. They embody the logic used to solve a problem. Written in words, they are (computer) language independent, and they allow peer/team review, so that a good design can result.
How many kilobytes are in a megabyte?
Roughly, there are about 1000 kilobytes (KB) in a megabyte (MB).
More specifically, there are three possible definitions of the megabyte:
So the actual number may be either 1000, 1024, or 1049 kilobytes in a megabyte, depending on the definitions you use for each.
The difference is due to the use of binary addressing in memories (1024 = 210).
Big data is expected to be 7.9ZB in 2015. It is nothing but an assortment of such a huge and complex data that it becomes very tedious to capture, store, process, retrieve and analyze it with the help of on hand database management tools or traditional data processing techniques.