Hi,
I'm working on an assignment where I'm supposed to compare different join methods in SQL Server, namely hash-join, merge-join and index-join.
I'm having difficulties getting SQL Server to perform an index-join. Can anyone show me how I can force it to use an index-join (using a join hint or similar), or just simply provide a simpl...
Hi,
After debugging my code, I've gotten to the point where the complier accepts it, but it throws a simulator exception.
The main problems I've had are with initializing the temp arrays and adding the vectors at the end.
The method used for adding is one I found in a reference since you can't add STD_LOGIC_VECTORs
Thanks,
Buzkie
li...
Hi,
Just a small problem. Currently coding a Java project for a Dell Axim X51 with J9 installed. The problem is to do with my interface, for different screens I simply swap a nested Panel (note its running 1.4 and NO swing), so remove(panel) - add(newPanel). The problem is when it swaps the panels the time taken to do so is visible and ...
Each position in the table contains an AVL tree. Now, insertion and deletion work fine, but the problem comes with the deletion. Suppose I have this:
[0]: a0 b0 c0
[1]: d0 e0 f0
[2]: g2 h0 i0
The number indicates that the associated elements have collided, so they have been moved to the other positions by the probing. Now, suppose I'd...
I'm trying to shift a portion of an image, currently using g.copyArea(). It works fine with solid colors, but the transparent pixels aren't being copied (because they're transparent!). I want to make the color underneath transparent.
This image shows what's happening, if a start shape was copied, but I want the whole area to copy, overw...
Binding times can be classified between two types: static and dynamic. What is the difference between static and dynamic binding?
Could you give a quick example of each to further illustrate it?
...
Consider a typical environment, why is the following code illegal in C?
{
int x;
&x = (int*) malloc(3*sizeof(int));
...
}
...
I am in my 6th semester of CS engineering, and I need to submit a project. Could anyone suggest a simple project using OpenGL?
...
The program should request the person’s occupation, the amount of the bill, and the percentage tip as input and pass this information to a Sub procedure to display the person and the tip. Title is gratuities, first line Person’s occupation, amount of the bill:, Percentage tip: Compute Tip, and show the tip. Im not sure how to approach it...
I was assigned a task for creating a parser for Arithmetic Expressions (with parenthesis and unary operators). So I just wanna know if this grammar correct or not and is it in LL(1) form and having real problems constructing the parse table for this
S -> TS'
S' -> +TS' | -TS' | epsilon
T -> UT'
T' -> *UT' | /UT' | epsilon
U -> VX...
I want to know if my FIRST and FOLLOW set I made for this grammar is correct or not
S -> TS'
S' -> +TS' | -TS' | epsilon
T -> UT'
T' -> *UT' | /UT' | epsilon
U -> VX
X -> ^U | epsilon
V -> (W) | -W | W | epsilon
W -> S | number
FIRST(S) = FIRST(T) = FIRST(U) = FIRST(V) = FIRST(W) = { ( , - , + , number , epsilon }
FIRST(T') = {...
#include<iostream.h>
void main()
{
cout<<"Love";
}
The question is how can we change the output of this program into
"I Love You" by without making any change in main().
...
#define pi 3.142
void main()
{
float circum,r;
printf("entr radius");
scanf("%f",&f);
area=2*pi*r;
printf("circum of the circle is =%f",f);
}
We have to write another C program which takes a file as input and replaces the string "pi" with the defined value
Where ever define variable is there i should replace with the value d...
Hi All, I have an adjaceny matrix for a graph which tracks the edges between the nodes by having a 1 in the corresponding adjMat[i,j] = 1;
Through this adjaceny matrix i wish to find out all the closed paths of length 4 which exists in the graph. Can anyone please provide me with a pseudo code. thank u
...
Hi, I'm trying to complete a project for school involving the use of semaphores. I have included the proper header files ( plus one for pthreads). I have pointed the compiler to the proper libraries as well. This is written in C. Yes, this is an assignment, but please be aware I am not looking for help with implementation, rather I can't...
hello
we are working on a project for school, we have 2 pir motion sensors running off an arduino micro controller, we able to view the output of the serial port in both ardunio IDE and python IDLE
what we want to do next is after about 30 seconds of motion being detected, send out an email alert, being that we don't have ethernet capa...
Hi,
So I have two classes. One is abstract:
public abstract class AbstractClient {
protected boolean running = true;
protected void run() {
Scanner scanner = new Scanner(System.in);
displayOptions();
while (running) {
String input = null;
while (scanner.hasNext()) {
...
Hello,
I'm trying to program a matlab to list all permutations of the numbers 1 through n in lexicographical order. What I have so far is below. I am using recursion to try and write a program that will work for n=3 first, and then see if I can gain insight into writing the program for any n. So far I have 2 of the 6 columns for n=3: P=...
I am trying to create a function that will swap a specific number in a matrix with a specific number in the same matrix. For examlpe, if I start with A = [1 2 3;1 3 2], I want to be able to create B = [2 1 3; 2 3 1], simply by telling matlab to swap the 1's with the 2's. Any advice would be appreciated. Thanks!
...
You require an algorithm to read in one customer's account balance at the begining of the month, a total of all withdrawals for the month, and a total of all deposits made during the month. A federal tax charge of 1% is applied to all transactions made during the month. The program is to calculate the account balance at end of the month ...