Cursor implementation of c program?
#include<stdio.h>
#include<conio.h>
#include"curslist.h"
void main()
{
LIST L=-1;
POSITION P;
int choice,place,x;
clrscr();
printf("\n1.Create\n2.Insert\n3.Delete\n4.MakeEmpty\n5.Display\n6.Find\n7.Exit");
A:
printf("\nEnter ur choice:\t");
scanf("%d",&choice);
switch(choice)
{
case 1:
if(L==-1)
{
InitializeCursor();
L=CursorAlloc();
}
else
printf("\nList is already created");
break;
case 2:
if(L==-1)
printf("\nList is not yet initialized");
else
{
printf("\nWhere u want to insert?");
scanf("%d",&place);
printf("\nEnter the element to insert");
scanf("%d",&x);
Insert(x,place);
}
break;
case 3:
if(L==-1)
printf("\nList is not yet initialized");
else
{
printf("\nWhich element you want to delete?");
scanf("%d",&x);
Delete(x,L);
}
break;
case 4:
if(L==-1)
printf("\nList is not yet initialized");
else
MakeEmpty(L);
break;
case 5:
if(L==-1)
printf("\nList is not yet initialized");
else
Display();
break;
case 6:
if(L==-1)
printf("\nList is not yet initialized");
else
{
printf("\nWhich element you want to search?");
scanf("%d",&x);
P=Find(x,L);
printf("\nThe element is at %d",P);
}
break;
case 7:
exit(0);
default:
printf("\n *******WRONG ENTRY*******");
}
goto A;
}
Describe weakness of conventional system analysis and design methodology?
the weakness of conventional system analysis and design methodology are ;it is rigid and flexible ;it takes to long to deliver a working software for the client ;it does not allow for changing system requirements during system development ;end user are poorly consulted in determining requirements with the sdlc ;it does not allow backtracking to previous stages as it is too much time consuming and costly
Can array size be determined using sizeof operator in c?
Yes. The array name is a reference to the array, so you can use sizeof (name) / sizeof (name[0]) to determine the number of elements. Note that sizeof (name) alone gives the length of the array in bytes.
What was the first simulation program?
Is it necessary to know the syntax for solving a problem on the computer?
No. We solve problems with algorithms, not with syntax.
What are the responsibilities of user liaison?
user liaison handles the need of user n user system relationship
How does the 68HC11 know whether we are using the 2's complement system or not?
It doesn't! Only the programmer does. The C (carry) flag indicates an overflow/underflow for unsigned numbers and the V (overflow) flag indicates an overflow/underflow for signed numbers. When the processor does a computation both flags are set appropriately, but you're only interested in the one that corresponds to whatever number system you chose to use.
This is why there are different branch instructions for signed and unsigned numbers. For example, BHI is branch if higherand BGT is branch if greater than. These sound like the same thing, but BGT is used for comparisons of signed numbers and BHI is for unsigned. These branches don't know what number system you're using -- they just know what flags to look at. The combination of flags set by the comparison will cause BGT to branch if the numbers being compared are signed (and the second number is greater than the first) because it looks at the Z, N, and V flags. In particular, it branches on Z' AND [(N AND V) OR (N' AND V')] = 1. BHI looks at the C and V flags. It branches if C' AND Z' = 1.
Try out a couple of subtractions and keep track of your flags. Plug them into the branch formulas and you'll quickly see that the processor doesn't care whether your numbers are signed or unsigned. As long as you keep track and use the right branches, everything works perfectly.
in·ter·na·tion·al
adj. (Abbr. int. or intl.)
1. Of, relating to, or involving two or more nations: an international commission; international affairs.
2. Extending across or transcending national boundaries: international fame.
n. International
Any of several socialist organizations of international scope formed during the late 19th and early 20th centuries.
Worldly.
A solid figure that has 2 parallel bases that are congruent circles.
A Cylinder is a solid figure described by the revolution of a rectangle about one of its sides which remains fixed. Two ends of a cylinder are the circles of same diameter.
Examples include pipes, cans, and poles.
cylinder?
A Cylinder is a solid figure described by the revolution of a rectangle about one of its sides which remains fixed. Two ends of a cylinder are the circles of same diameter.
Examples include pipes, cans, and poles.
Why return 0 is used in int main function in c?
It depends on the context.
- it means "no" in functions that check something (like "isatty", "isascii", "isdigit")
- it means "success" in functions whose return value is an error code (0 means no error)
- it means "fail" or "not found" in functions that return a pointer (like strchr or fopen).
Which program segment at run time is used to store interrupt and subroutine return addresses?
If this is a homework assignment, you really should try to answer it on your own first, otherwise the value of the reinforcement of the lesson due to actually doing the assignment will be lost on you.
Interrupt and subroutine return addresses are stored on the stack, so the stack segment is used for interupt and subroutine addresses.
I would recommend an If - then - else statement over a switch statement because:
1. It is simpler/easier
2. You do not get unexpected output because of missing break statements
A missed break statement in one of the conditions in a switch case statement means that all the conditions that come after the success condition are executed. In case of if else this is not the case and hence it is much safer for novice programmers.
> essentially perform the same function
No, they don't. Here is an example to prove this:
if (sin (alpha) > cos (alpha)) {
...
} else if (alpha / M_PI * 180 > 180) {
...
} else {
...
}
Words or phrases that contain the word gold?
phrases:
words:
What are some advantages of email over regular mail?
Email has changed the way we do business. Sure, people complain about the amount of Email they receive. But when all is said and done, using Email has impacted business in a positive way and has the edge over other methods of communication.
Here are five advantages of using Email:
Managing Email is Easy
You can manage all your correspondence on screen and so can your customers. Your proposal can be answered, revised, stored, and sent to others, all without reams of paper involved.
Email is Fast
Mail is delivered instantly...from your office to anywhere in the world. No other method of delivery can provide this service. Timely buying and selling decisions can be made in a heartbeat.
Email is Inexpensive
Compared to telephone calls, faxes, or over night courier service, Email is less expensive.
Email is Easy to Filter
The subject line on an Email makes it easy to prioritize messages. The reader can identify ritical correspondence quickly and dealt with it immediately. Unlike regular mail which needs to be opened and reviewed, or voice mail which requires you to either listen to or scan all your messages for those that require immediate attention.
Transmission is Secure and Reliable
The level of security in transmitting Email messages is very high, and the industry continues to strive to develop even tighter security levels. Email is private. Often telephone and fax messages are not. If the address information is correct, rarely does an Email go astray. Fax machines can be out of order or out of paper and this prevents an important message from being delivered in a timely manner.
Email is an Internet marketing tool that is fast, easy to use, inexpensive and effective. Email levels the playing field between the big corporations and small businesses. No longer is it just the big boys who have the resources to access the big advertising houses. Anyone can get their word out there using Email as the method of delivering the message.
What programming languages are used in programming an EEPROM?
In one sense, since EEPROM is memory, you don't program memory. You store things in memory, and the thing you are programming in this case would likely be a micro-processor or micro-controller that is on the same circuit as the EEPROM.
In theory, an EEPROM is just memory, so any language that would be able to produce machine language output for the CPU type connected to the EEPROM in any instance could be used.
In practice, many programs written to EEPROM would be for embedded systems. In this case, a lower level language like C could be used, or a higher level language that output C or the right kind of assembly.
A higher level language like C# or Java would likely not be used, as the overhead of the virtual machine might be considered to be too heavy for a micro-controller, or small micro-processor.
That being said, in practice, you could use anything. But it is likely you would have some libraries in C or C++ that you might want to use, so you would likely use a language that was compatible with any libraries you might use.
yah it's correct.
What is a low level misdemeanor?
A low-level misdemeanor is a minor criminal offense that is typically punishable by fines, community service, or short-term imprisonment, usually less than a year. Examples include petty theft, disorderly conduct, or public intoxication. These offenses generally carry less severe consequences than felonies and are often resolved through less formal legal processes. Despite their lower severity, low-level misdemeanors can still impact a person's record and future opportunities.
Western India vegetable product ltd . It was actual name but now transformed to
western India product ltd
What are the categories of unshielded twisted pair?
{| ! Category ! Maximum data rate ! Usual application | CAT 1 (de facto name, never a standard)
Up to 1 Mbps (1 MHz) analog voice (POTS)
Basic Rate Interface in ISDN
Doorbell wiring CAT 2 (de facto name, never a standard) 4 Mbps Mainly used in the IBM cabling system for Token Ring networks CAT 3 16 Mbps Voice (analog most popular implementation)
10BASE-T Ethernet. CAT 4 20 Mbps Used in 16 Mbps Token Ring.
Otherwise not used much. Was only a standard briefly and never widely installed.
CAT 5 100 MHz 100 Mbps TPDDI
155 Mbps ATM.
No longer supported; replaced by 5E.
10/100BASE-T
4/16MBps Token Ring
Analog Voice CAT 5E 100 MHz 100 Mbps TPDDI
155 Mbps ATM
Gigabit Ethernet.
Offers better near-end crosstalk than CAT 5 CAT 6 Up to 250 MHz Minimum cabling for data centers in TIA-942.
Quickly replacing category 5e.
CAT 6E Up to 500 MHz
(field-tested to 500 MHz) Support for 10 Gigabit Ethernet (10GBASE-T.) May be either shielded (STP, ScTP, S/FTP) or unshielded (UTP). This standard published in Feb. 2008.
Minimum for Data Centers in ISO data center standard. CAT 7
(ISO Class F) 600 MHz
1.2 GHz in pairs with Siemon connector Full-motion video
Teleradiology
Government and manufacturing environments
Fully Shielded (S/FTP) system using non-RJ45 connectors but backwards compatible with hybrid cords.
Until February 2008, the only standard (published in 2002) to support 10GBASE-T for a full 100m. or go to http://searchdatacenter.techtarget.com/sDefinition/0,,sid80_gci211752,00.html |}
Different types of macros in assembler?
Types of macros In general, there are two types of macros: ExecutiveThese macros generate either code or data that is incorporated into the program being assembled.
Generally, an executable instruction is generated.DeclarativeThese macros produce information used by the assembly process while generating code.
z/TPF system programs use a large set of macro instructions to generate linkages or to simply generate inline code. Many of these macros are restricted to system programs because the macros are subject to change in future releases and represent an unprotected interface. A macro with an unprotected interface is called a system macro. Because some z/TPF system programs run in the application execution environment, some of the system macros also generate SVC linkages.