answersLogoWhite

0

📱

Computer Programming

A category for questions about computer programming and programming languages.

10,506 Questions

How do you write classes and objects for hospital management software using objective c or c plus plus?

You declare a class as follows:

class MyClass

{

//some stuff here...

}

You create an object as follows:

MyClass object;

This is how you create classes and objects in C++.

What is the edge of java over other object oriented programming language?

I am not sure Java is the best language; different languages have different advantages and disadvantages. However, here are some of Java's advantages; some of these advantages are shared by other languages, too:

  • Good OOP implementation.
  • Works on multiple platforms, i.e., operating systems.
  • Built-in support for Unicode, this means you can easily work with different languages, even those that don't use a Latin alphabet.
  • Built-in multithreading.
  • Memory management is automatic.
  • The compiler does quite an effort to catch lots of errors during the compilation.


I am not sure Java is the best language; different languages have different advantages and disadvantages. However, here are some of Java's advantages; some of these advantages are shared by other languages, too:
  • Good OOP implementation.
  • Works on multiple platforms, i.e., operating systems.
  • Built-in support for Unicode, this means you can easily work with different languages, even those that don't use a Latin alphabet.
  • Built-in multithreading.
  • Memory management is automatic.
  • The compiler does quite an effort to catch lots of errors during the compilation.


I am not sure Java is the best language; different languages have different advantages and disadvantages. However, here are some of Java's advantages; some of these advantages are shared by other languages, too:
  • Good OOP implementation.
  • Works on multiple platforms, i.e., operating systems.
  • Built-in support for Unicode, this means you can easily work with different languages, even those that don't use a Latin alphabet.
  • Built-in multithreading.
  • Memory management is automatic.
  • The compiler does quite an effort to catch lots of errors during the compilation.


I am not sure Java is the best language; different languages have different advantages and disadvantages. However, here are some of Java's advantages; some of these advantages are shared by other languages, too:
  • Good OOP implementation.
  • Works on multiple platforms, i.e., operating systems.
  • Built-in support for Unicode, this means you can easily work with different languages, even those that don't use a Latin alphabet.
  • Built-in multithreading.
  • Memory management is automatic.
  • The compiler does quite an effort to catch lots of errors during the compilation.

How do you prove you are not a hacker?

It's very tricky, the main point is to show that you did not do anything illegal.

What correlation coefficient best explains the relationship between creativity and intelligence?

both are inter related. an Intellectual always have the creativity and viceversa So the in betwenn the range -1 to +1 ... my heart goes to +1

What is circuit debugging?

Circuit debugging is a type of software program that tries to fix problems within the computer. For example, if a printer is not working properly that is attached to the computer, the debugging program can try to find out what the problem is. It may or may not automatically fix a problem.

What are some of the trends in email?

Trends in e-mail include better filters and restrictions on spam in the workplace, control and accountability for both e-mail and newer technology such as IM, an escalation in the demand to supply e-mail records when legal issues arise

What is oo programming?

Object-oriented programming (OOP) is a programming paradigm that organizes software design around data, or objects, rather than functions and logic. Objects are instances of classes, which define attributes (data) and methods (functions) that operate on the data. OOP promotes principles such as encapsulation, inheritance, and polymorphism, allowing for more modular, reusable, and maintainable code. This approach is commonly used in languages like Java, C++, and Python.

How do computer languages work?

Computer languages are programs that can convert desired actions into a language that the computer can understand. Essentially, the user enters the program code into the computer, then the computer converts it to a language that can then be executed by the computer.

What are user level threads?

•No special support needed from the kernel (use any Unix)

•Thread creation and context switch are fast (no syscall)

•Defines its own thread model and scheduling policies

Defult function in c language is?

Default functions are pre defined functions.

Eg. printf();

scanf();

getch();

clrscr();

etc..

Actually, no-one uses the term 'default function'. (Let alone 'defult function'.)

Another answer: Perhaps it is 'main' what you meant.

Can you declare printf for integer variable?

printf is declared in stdio.h

Format specifier for an integer value is %d.

What is a random access file in QBasic?

Random access simply means the ability to read and write anywhere in the file, as opposed to sequential access where data is simply appended to the end of the file and is accessed by traversing from the start of the file in sequential order. Random access is ideally suited to data arrays where every element in the file is exactly the same length, allowing constant-time traversal from one element to any other, in both directions. If the data is also sorted, random access also allows binary search to improve search efficiency.

What is the significance of hexadecimal What is the significance of binary Who are they used by?

Binary (base-2) and hexadecimal (base-16) are commonly used by programmers. Binary computers only understand binary encodings. That is, all information (both instructions and data) must be converted into a numeric value; digital information. Humans like to use decimal notation whenever possible, but in order to program a computer in its own native language we must convert all values to binary, the only language the computer actually understands.

However, binary is difficult to work with because there are only two symbols: 0 and 1. Decimal, on the other hand, has ten symbols, 0 to 9, so we can easily notate all values from 0 to 9 using just one digit. In binary we would need at least 4 digits to notate the same range of numbers. Thus binary numbers tend to be much longer than their decimal equivalents and are difficult for humans to comprehend; a single digit in the wrong place is much harder to spot.

Although we can program the computer to convert decimal notation to native binary, this has a runtime cost because there is no direct conversion between decimal and binary notation.

But base-2 is directly related to all bases that are themselves a power of 2. Thus quaternary (base-4), octal (base-8) and hexadecimal (base-16) are all directly related to binary and are therefore more easily converted back and forth than is decimal.

We use hexadecimal because it has relatively few symbols (16), and each hex digit maps 1:1 with a group of 4 bits. Since 4 bits is half a byte we call hexadecimal digits nybbles. Since two nybbles make a byte, we can represent any group of 8 bits with just two symbols instead of 8 binary digits.

Octal is also used because it allows us to map bits in groups of 3, which can be useful in systems that use a 9-bit byte rather than the more common 8-bit byte, but is also useful when we need to work in base-8 itself.

Why did Edsger Dijkstra find the goto statement to be harmful?

The short answer is that goto statements generally cause messy and hard to read code. This reduces the ability to update that code. Also it was proven that nearly everything that goto was used for could be done using other control statements like the while loop or function calls.

for a more informative answer go here

http://www.cs.utexas.edu/~EWD/transcriptions/EWD02xx/EWD215.HTML

What does error code 420 means?

In HTTP, the return code 420 is not used by the standards. However, and individual can make the server return whatever HTTP return code he wants... and should provide information on his FAQ.