answersLogoWhite

0

📱

Computer Programming

A category for questions about computer programming and programming languages.

10,506 Questions

Where to download bluetooth file exchange for mac?

Mac OS X has Bluetooth and sharing capabilities built in. Turn on Bluetooth from the Bluetooth section in System Preferences. In the Sharing section of System Preferences turn on Bluetooth Sharing and use the menus to the right to set up how you want it to work, where you want to save accepted items etc. The Bluetooth File Exchange software can be found in the Utilities folder which is in the Applications folder.

Why flowcharts are not good for object oriented programming?

Object oriented programming requires objects generally represented as classes to "talk" to other objects via methods/functions. This is a different approach from procedural languages where a procedure i.e. steps were constructed and written in the form of a flow chart.

For object-oriented programming the "flow" between objects is more important than the construction of a program. For this we use class diagrams. (using tools like rational rose). The methods themselves where the functioning takes place are so small and simple that for constructing them a flow chart is generally not required for a seasoned programmer. Thus, flowcharts are simply not a good instrument for oo programming because here data is given much more importance than the procedures that operate on them.

What is an asyndetic list?

A grammatical term which describes a list which uses commas to separate its parts.

How can write a c plus plus program to sort an integer array and name array using function overloading use dynamic memory allocation for both the array?

#include<iostream>

#include<vector>

#include<string>

#include<algorithm>

// forward declarations

void sort(std::vector<int>&);

void sort(std::vector<std::string>&);

int main()

{

std::vector<int> int_array = { 7, 3, 8, 6, 2, 9, 1, 4, 0, 5};

std::vector<std::string> str_array = { "John", "Bill", "Alan", "Craig"};

sort (int_array);

sort (str_array);

}

void sort(std::vector<int>& arr)

{

std::sort (arr.begin(), arr.end());

}

void sort(std::vector<std::string>& arr)

{

std::sort (arr.begin(), arr.end());

}

WAP in java to take alphabet and print ascii value for it?

Remember that chars in Java are just a special version of ints. Cast the char as an int and you get the Unicode value for it. Fortunately, the group of characters including letters and numbers have the same value in both encoding systems.

for (char letter = 'a'; letter <= 'z'; ++letter) {

System.out.println("ASCII of " + letter + " = " + (int) letter);

}

Who developed the concept of relational database?

Dr. Edgar F. Codd in 1970 in his book titled "A Relational Model of Data for Large Shared Data-banks".

What type of programming is aired on Cbeeies?

On the Cbeeies television channel - provided by the 'British broadcasting corporation' airs children's and teen programs between the hours of 06:00 and 19:00.

What is CPU context?

I believe what your referring to is the process of which the CPU (Central Processing Unit) of it basically "pausing" and "resuming" applications.... That's a really bad answer but It is rather hard to explain.

What program is the program that contains the language instructions or code to be converted?

There is no such thing: compiler translates but doesn't execute; interpreter executes, but doesn't translate.

What is the connection between binary and hexadecimal numbers in the programming world?

The connection between binary and hexadecimal in the programming world is exactly the same as the connection in the mathematical world. All numeric bases that are themselves a power of 2 (base-4, base-8, base-16, base-32, etc) are trivial to convert both to and from binary.

A single base-4 digit maps to exactly 2 binary digits:

0 = 00

1 = 01

2 = 10

3 = 11

A single base-8 (octal) digit maps to exactly 3 binary digits:

0 = 000

1 = 001

2 = 010

3 = 011

4 = 100

5 = 101

6 = 110

7 = 111

A single base-16 (hexadecimal) digit maps to exactly 4 binary digits (also known as a nybble):

0 = 0000 1 = 0001 2 = 0010 3 = 0011

4 = 0100

5 = 0101

6 = 0110

7 = 0111

8 = 1000

9 = 1001

a = 1010

b = 1011

c = 1100

d = 1101

e = 1110

f = 1111

And so on for base-32, base-64, etc.

Hexadecimal is the most useful notation because a byte is normally 8 binary digits in length and we can represent a byte as two nybbles using just two hexadecimal digits as opposed to 8 binary digits.

For longer binary values, such as 32-bit, 64-bit or 128-bit values, using a more concise notation makes the value much easier to read. Consider the following:

1011010010110100101101001011010010110100101101001011010010110100

1011010010110100101111001011010010110100101101001011010010110100

These two binary values look the same but they are not. With hexadecimal notation it becomes easier to see the difference because there are fewer digits to compare:

b4b4b4b4b4b4b4b4

b4b4bcb4b4b4b4b4

How do you display the menu using the assembly language programming?

start: jmp main option1 db 0ah, 0dh, "1. OPTION 1 $" option2 db 0ah, 0dh, "2. OPTION 2 $" exit db 0ah, 0dh, "3. EXIT $" str1 db 0ah, 0dh, "Press Key: $" x db 0ah, 0dh, "You Pressed option 1 $" y db 0ah, 0dh, "You Pressed option 2 $" z db 0ah, 0dh, "End $" nvl db 0ah, 0dh, "Invalid Option $" one db "1" two db "2" tre db "3" main proc mov ah,09h lea dx,option1 int 21h lea dx,option2 int 21h lea dx,exit int 21h again: mov ah,09h lea dx,str1 int 21h mov ah,01 int 21h mov bl,al cmp bl,"1" je disp1 cmp bl,"2" je disp2 cmp bl,"3" je dispexit cmp al,one jne n cmp al,two jne n cmp al,tre jne n n: mov ah,09h lea dx,nvl int 21h jmp again disp1: mov ah,09h lea dx,x int 21h jmp again disp2: mov ah,09h lea dx,y int 21h jmp again dispexit: mov ah,09h lea dx,z int 21h int 20h main endp end start

How do you fix a laptop when it says its hibernating?

When that happens to me. I simply wait for it to finish hibernating and then I hit the power button. Press the power button and it should come back up.

What is used in vb 6.0 for execution of programs?

I think events of objects are used to execute a program in VB.

Who created ladder logic programming language?

Although GM made the initial order with a company called Bedford to develop a electronic replacement for relays which became the first PLC, The "Ladder" Logic which Graphically resembles contacts and relays was first done another company called Reliance Electric.

Merit and demerit of computer networking?

Merits : 1. Easy Communication and Speed 2. Ability to Share Files, Data and Information 3. Sharing Hardware 4. Sharing Software 5. Speed Demerits : 1. Breakdowns and Possible Loss of Resources 2. Expensive to Build 3. Security Threats 4. Bandwidth Issues

What task a professional manager of an organisation can do?

Task Manager allows user to monitor and analyze :

1) processes and services running

2) amount of memory allocate for the process.

3) Allow user to manually terminate or start a new process or thread

4) Allow user to monitor the CPU processing power.

5) Assist in monitor and trouble-shooting conflicts of processes.

What is output design in system design?

Output designs are reports of what is produced by the system. They play a huge role in system design considering you need certain information and they give visual reports.

Print That Now: Expert design and printing services based in Singapore.