answersLogoWhite

0

📱

Computer Programming

A category for questions about computer programming and programming languages.

10,506 Questions

What is data segment memory and code segment memory?

Code Segment, in which all the application code is stored
Data Segment
, that holds the global data

How do you send commands to a command-line EXE program from a batch?

Just put the commands in your batch file. When someone runs the program, it will execute the commands it comes across line-by-line.

- Example Batch Script:

This script will run an application EXE file with command line parameters. This will use the shutdown.exe file that comes with windows. It shuts down the computer in 60 seconds.

@shutdown -s -t 60

- You could also use the START command. For any command or exe file that runs from the command line, you could open a command prompt and type the name of the file followed by /? to find out what you can use as command parameters. Example: START /?

What is uci known for athletically?

UCI or the University of California, Irvine, is well known for their bioengineering program. The school was established in 1965 and has produced several Nobel laureates.

How do you name your nxt?

go to the nxt window in the mindstorms thing, then select an NXT, on the right side there is a place to type with an arrow next to it.type in there

Is there any graphics program in c?

Search for BGIDEMO.C in your TurboC. There are thousands. Many Unix/Linux graphics programs are written mainly in C or C++, including X itself.

What is an example program in Bluej whether a number is a palindrome or not?

class test

{

public static void main(int num)

{ int num2=num;

int rnum=0;

while (num2>0)

{ int q=num2/10;

int dig=num2%10;

rnum = rnum*10+dig;

num2=q;

}

if (rnum==num)

System.out.println("Palindrome number");

else

System.out.println("Not a Palindrome number");

}

}

If else else sample programs java?

if (i==2)

if (j==2) System.out.println ("i==2 and j==2");

else System.out.println ("i==2 and j<>2");

else System.out.println ("i<>2");

What operation is supported in constant time by the doubly linked list but not by the singly linked list?

examples:

- delete this node (identified by a pointer)

- insert a new node before this node

- replace this node with another node

What does tecnical feasibility mean?

It is a way to verify is something is doable technically. Usually you build a working prototype to verify feasibility.

What are the different between stack and queue?

  • A stack is generally First In, Last Out, and a queue is First In First Out.
  • Item can be added or removed only at one end in stack and in a queue insertion at the rear and deletion from the front.
  • The basic operation of stack are 'push' and 'pop', on other hand of queue are 'enque' and 'dequeue'.

How many rows and columns does a punchcard have?

Usually, 10 rows and 80 columns.

Nope, 12 rows and 80 columns.

The top two rows are zone rows, originally used for signs and control functions but now used for encoding alphabetic and special characters. The bottom ten rows are digit rows.

Actually in EBCDIC, the top three and bottom two rows (called rows 12, 11, 0, 8, 9) are zone rows and the bottom ten rows (called 0, 1, 2, 3, 4, 5, 6, 7, 8, 9) are digit rows. If there are no punches in a column that column is blank, if there is only one punch in a digit row in a column that column is a digit, if there is one punch in row 12 or 11 or multiple punches in a column that column is an alphabetic or special character. In EBCDIC there can never be more than 6 punches in any column: all five zones punched and one punch in digits 1 through 7. Note that rows 0, 8, 9 are both zone and digit rows.

A list of antifederalists?

The leading opponents from the major states included

Patrick Henry, George Mason, and Richard Henry Lee from

Virginia, George Clinton, Robert Yates, and Melanesian Smith

from New York, John Winthrop' and El bridge Gerry from

Massachusetts and Robert Whitehall, William Findley, and John

Smilier from Pennsylvania.

Hancock!

What is the distinction between a world-level method and a class-level method?

a class level deals with a single object in a particularly group but the world-level method deals with more than one object in a particular group.

Using only one program implement bubble sorting insertion sorting quick sorting and selection sorting?

Its simple!dirve a menu based prog by using switch case & then apply every sorting function to it.

How do you delete history from the school computer if it does not allow me to?

You can't do this without obtaining Administrator privileges. Talk to your IT or IS people.

Difference between c and c plus plus?

Although the languages share common syntax they are very different in nature. C is a procedural language. When approaching a programming challenge the general method of solution is to break the task into successively smaller subtasks. This is known as top-down design. C++ is an object-oriented language. To solve a problem with C++ the first step is to design classes that are abstractions of physical objects. These classes contain both the state of the object, its members, and the capabilities of the object, its methods. After the classes are designed, a program is written that uses these classes to solve the task at hand.

++++++

C++ is a set of extensions to the C language to allow some (not all) principles of object-oriented programming to be used. Originally, C++ was a front end pre-processor for C and C++ compilers will translate C language functions.