answersLogoWhite

0

📱

Database Programming

Databases are collections of tables that maintain and display information, often collaboratively; this information can be used for interaction with an application or gaining general knowledge. Questions about database engines and modifying or using them belong in this category.

8,803 Questions

How do you create a form in database?

To create an online form and database, you could learn PHP, MYSQL, HTML and Javascript or alternatively try something like www.recs4free.com. This will do most of the work for you.

Briefly describe the basic military components of the Defense Department?

The basic components of the US Defense Department are the Department of the Army, the Navy, and the Air Force.

What is primitive and non-primitive culture?

Primitive culture refers to a society that does not have development or sophistication for example a hunter-gather society. Non-primitive culture on the other hand is a society that has technological, cultural or economic development like the industrial capitalist society.

What the advantage and disadntage for ward Leonard system?

advantages: four quadrant control which means full speed control on both rotation sides, braking and regenarating power.

disadvantages: high cost (you need 3 machines), low efficiency

What prototype of management information systems was developed in the late 1890s?

because of the efforts of Herman Hollerith (1860-1929), who created a punch-card system to tabulate the data for the 1890 census, it was possible to begin to provide data-processing equipment.

What is a set of 2 or more interrelated components that interact to achieve a goal called?

One component is called hard work. You must work hard in order to achieve a goal that is very important to you. That goal that you will achieve will become precious and valuable because that would have been time and effort that you had to put into it. Once you set your mind to achieving that goal nothing can stop you. Always ask questions and the only dumb question is the one that you do not ask. Support from others is another very important component. Having positive people surrounding you would make things even better in your life. Always stay focus and never give up because at the end of that road good things will be achieved.

1 What devices are used in an ATM network?

An ATM network is made up of an ATM switch and ATM endpoints. An ATM switch is responsible for cell transit through an ATM network. The job of an ATM switch is well defined: it accepts the incoming cell from an ATM endpoint or another ATM switch. It then reads and updates the cell-header information and quickly switches the cell to an output interface toward its destination. An ATM endpoint (or end system) contains an ATM network interface adapter. Examples of ATM endpoints are workstations, routers, digital service units (DSUs), LAN switches, and video coder-decoders (CODECs). Figure 20-3 illustrates an ATM network made up of ATM switches and ATM endpoints. from Muhammad Faraz Ahmed

faraz_vu@hotmai.com

What is the difference between ascii 13 and ascii 10?

Technically, ASCII Decimal 10 is a ASCII (decimal) 10 is a linefeed character, or Vertical tab. ASCII Decimal 13 is a carriage return.

If you happen to be using a very old teletype Machine, a ASCII 10 will move you down 1 line, but leave you the same distance from the left margin. ASCII 13 would send you to the left margin, but leave you in the same line.

In modern practice, either 10 or 13, or both, will place your cursor on the first character of the next line.

Note that some operating systems vary in this. This is why when you open a UNIX text document in a Windows Notepad, the document is a single line with boxes where the ASCII(13)s are, since Notepad only accepts ASCII(10) for line return.

Importance of DBMS in commercial environment?

DBMS is the integration of files and data called the database. It has a number of commercial uses like controlling data access, managing concurrency control, enforcing data integrity. In fact most of the things in the internet is run with the help of DBMS.

How is security implemented in a relational database?

Security is one of the key concern of a database administrator. Security can be added to the user, object etc. An object (table,views,stored procedures etc) can have multiple permissions. A database administrator can grant revoke permissions to the objects. Security is implemented based on the data sensitiveness also. If there is a table for password, make sure that only it's encrypted and can be accessible through administrator only.

Conversion of expression in binary tree in data structure?

1 Mayuresh Pardeshi (pardeshimayuresh@gmail.com) /*Binary Tree Expression Solver 2 * By James Brannan, 2005. 3 * irregularexpression@gmail.com 4 * You may copy and redistribute 5 * this code free of charge as you 6 * see fit. 7 */ 8 9 using System; 10 using System.Collections.Generic; 11 using System.Text; 12 13 14 namespace Tree 15 { 16 // Node Class: Base for binary tree, holds data for left and right nodes. 17 class Node 18 { 19 // Stack used to solve for a given tree. 20private Stack stack = new Stack(); 21 22 // Solves a tree 23 public int Solve() 24 { 25 /* This method uses a stack to solve the expression. The postfix 26 * notation is tokenized and systematically added to the stack. 27 * When the stack encounters an operation, it is executed and 28 * modifies the contents on stack. The final item left on the 29 * stack (given the expression was valid) is the answer. 30 */ 31 string a , b; // Temporary placeholders for popped values 32 string[] tokens = Postfix().Split(' '); // Tokenize the postfix output 33 foreach (string e in tokens) 34 { 35 switch (e) 36 { 37 /* For operation cases, the last two items added to the stack are 38 * removed and acted upon. For any other case, the value is pushed 39 * onto the stack. 40 */ 41 case "+": 42 b = stack.Pop(); 43 a = stack.Pop(); 44 stack.Push(Convert.ToString(Convert.ToInt16(a) + Convert.ToInt16(b))); 45 break; 46 case "-": 47 b = stack.Pop(); 48 a = stack.Pop(); 49 stack.Push(Convert.ToString(Convert.ToInt16(a) - Convert.ToInt16(b))); 50 break; 51 case "/": 52 b = stack.Pop(); 53 a = stack.Pop(); 54 stack.Push(Convert.ToString(Convert.ToInt16(a) / Convert.ToInt16(b))); 55 break; 56 case "*": 57 b = stack.Pop(); 58 a = stack.Pop(); 59 stack.Push(Convert.ToString(Convert.ToInt16(a) * Convert.ToInt16(b))); 60 break; 61 case "%": 62 b = stack.Pop(); 63 a = stack.Pop(); 64 stack.Push(Convert.ToString(Convert.ToInt16(a) % Convert.ToInt16(b))); 65 break; 66 default: 67 stack.Push(e); 68 break; 69 } 70 } 71 // Value left over is the result of the expression 72 return Convert.ToInt16(stack.Pop()); 73 } 74 75 // Returns the prefix notation for the expression 76 public string Prefix() 77 { 78 /* Function recurses through the left then right 79 * nodes after its value. 80 */ 81 string res = this.Value + " "; 82 if (this.left != null) // If node is not a leaf, then recurse 83 { 84 res += this.left.Prefix(); 85 res += this.right.Prefix(); 86 } 87 return res; 88 } 89 90 // Returns the postfix notation for the expression 91 public string Postfix() 92 { 93 /*Function recurses through the left then right, 94 * bottom-up. All leafs are returned before their 95 * parent operators. 96 */ 97 string res = ""; 98 if (this.left != null) //If node is not a leaf, then recurse 99 { 100 res += this.left.Postfix() + " "; 101 res += this.right.Postfix() + " "; 102 } 103 res += this.Value; 104 return res; 105 } 106 107 // Returns the (fully parenthesized) infix notation for the expression 108 public string Infix() 109 { 110 /*Function recurses through left, then returns 111 * value, and recurses right. Each expression is 112 * nested in parentheses. 113 */ 114 string res = ""; 115 if (this.left != null) 116 { 117 res = res + "(" + left.Infix() + " " + Value + " " + right.Infix() + ")"; 118 } 119 else 120 { 121 res += Value; 122 } 123 return res; 124 } 125 126 // Constructor for subnodes 127 public Node(char op, Node l, Node r) 128 { 129 left = l; 130 right = r; 131 Value = op.ToString(); 132 } 133 // Constructor for leaf nodes 134 public Node(string value) 135 { 136 //Leaf nodes have no left or right subnodes 137 left = null; 138 right = null; 139 Value = value; 140 } 141 142 //Node connected on the left 143 private Node left; 144 // Node connected on the right 145 private Node right; 146 // Value (operator or term) 147 private string Value; 148 } 149 150 // Sample program: 151class Program 152 { 153 /* The code below demonstrates the use of the Node class. The expression being 154 * tested is graphed as shown below. (Make sure you're using a monospace font) 155 * (((1-2)-3) + (4*(5+6))) 156 * + 157 * / \ 158 * - * 159 * / \ / \ 160 * - 3 4 + 161 * / \ / \ 162 * 1 2 5 6 163 */ 164 165 static void Main(string[] args) 166 { 167 Node root = new Node('+', new Node('-', new Node('-', new Node("1"), new Node("2")), new Node("3")), 168 new Node('*', new Node("4"), new Node('+', new Node("5"), new Node("6")))); 169 Console.WriteLine("Prefix notation: \t" + root.Prefix()); 170 Console.WriteLine("Postfix notation: \t" + root.Postfix()); 171 Console.WriteLine("Infix notation: \t" + root.Infix()); 172 Console.WriteLine("Solution for tree is:\t" + root.Solve()); 173 Console.ReadKey(true); 174 } 175 } 176 }

How can you change foxpro prg file into foxpro exe file?

You can make a FoxPro exe if you will build it, located on the left side of the Project Manager

On Build Action choose Rebuild Project, and on Option choose Recompile All Files. Then click Ok.

Then on Build Action choose Win32 Executable/COM Server then clear the Option. Finally click Ok.

Then provide application name and you have the exe.

On a model 5100 j Stevens 12ga what are the numbers on the trigger and does the value go up with a single trigger?

I don't know what the numbers on the trigger are unless they are a part number, but you can add about 25% to the asking price for a single selective trigger.

What is data capturing?

Getting the information into a structure in which it can be processed by the computer is called DATA CAPTURE.

(By the way the information i gave you came from my computer book not from me, ok)