3,815 Topics
![]() | |
Hi everybody, i really need your help, im not good at designing pseudocodes but i need someone to help me out in making this pseudocode for my assignment.. here is my assignment : *The Micah-11 hardware outlets require an inventory control program that is to accept order details for an … | |
Hello, For an assignment I have to implement some search algorithms in order to solve the travelling salesman problem, I understand the problem and I understand how the algorithm works, I simply don't know how to implement it (my Java isn't great) but this should really be the easy part … | |
Hello I am making an application that will solve a puzzle for me, but before i start designing the algorithm I need to capture that region of the screen, in order to reduce the time it would take to scan the whole PrimaryScreen for the objects I am looking for. … | |
write a program to read a seuence of numbers terminated by 0 and print the sum of all the even numbers. How would you write the algorithm/pseudocaode for this | |
I am doing image segmentation using region growing algorithm. I have created Region and Pixel class where each region has list of pixels. public class Region { private List<Pixel> pixelList; } Pixel class has fields like r,g,b, hue,saturation, brightness of individual pixel in image. The result of segmentation is list … | |
I want to develope an ETL application for Data Ware House Project (Decision Support System) for university, i am extracting data from, Excel, Access and CSV format files, i have done the extraction, but now the problem is the Transformation of Data, i have to clean it and standardize it, … | |
Actually i want to find a probabilty of a name spelling wise e.g Malik, Malique, Malick, Malik, Malicq, Malique, Malik, Malike, Maliqk, Maliq, Malik, Malick, Malik, Malique, Malik now in above example the probability of "Malik" is high spelling wise that is 6 so is there any algorithm or logic … | |
Hi. I want to create my date format but i dont know how. I want the user to input the date in format DD-MON-YY or else it will give him an error. How can I do that? any algorithm? ANy help would be appreciated. Thanks! | |
please predict the next 5 numbers in the algorithm ,series or sequence;27,1,84,12,5,51,45,50,88,33,67,2,26,78,88,72,86,28,62,14,34,52,20,56,3,47,2,19,90,69,46,40,26,35,48,51,15,9,78,31---------(the numbers must be intergers and must be 80,60,48,40 and 39 if you can predict this then you are a genius. please explain your answer) | |
I do not know my SEO bad, or annihilated my station because of the Google Panda algorithm And I? | |
I am currently working on my assignment about a simple text editor that can open, add line and delete line and so and so... I designed an algorithm to add new line to the doc and it works for the first time but didnt work after it, I dont know … | |
Google has confirmed that they ran a refresh to the Google Panda algorithm on Wednesday, November 21st. Panda Update 22, Nov. 21, 2012 (0.8% of English queries were affected; 0.4% worldwide; confirmed, not announced) | |
so I haven't used pointers to this extent for a few years so I'm a little rusty. I'll give a quick explanation on what the code is supposed to do, but from looking at my output I am messing up pointer arithmetic somewhere along the lines. I'm pretty sure it's … | |
Hi, i am relatively new to programming. i am trying to use an open source library found by google search. the readme file tells to write make on commandline, as a result i got an exe file sample, but now i am trying to chk the output and the usage … | |
This is a project I am working at my school as an introduction to two dimensional array. In this program, I attempted to create a two dimensional array, figure out how many neighbouring bacteria said cell have, and create, destroy, and leave the cell as it is. The error I … | |
#include<iostream> #include<vector> #include<algorithm> using namespace std; class Cords { public: int x,y,z; }; class Object:public Cords { int a,b,c; public: vector<Cords> vCords; void insertCords(); void getCords(); }; void Object::insertCords() { Cords theCords; int x=1; do { cout<<"Enter X:"<<endl; cin>>x; cout<<"Enter a b c:"<<endl; cin>>a>>b>>c; theCords.x=a; theCords.y=b; theCords.z=c; vCords.push_back(theCords); }while(x!=0); } … | |
Hello I am try to learn Brasenham Line Drawing Algorithm. I wrote this program in Turbo C # include <stdio.h> # include <conio.h> # include <graphics.h> void main() { int dx,dy,x,y,p,x1,y1,x2,y2; int gd,gm,errorcode; clrscr(); printf("\n\n\tEnter the co-ordinates of first point : "); scanf("%d %d",&x1,&y1); printf("\n\n\tEnter the co-ordinates of second point … | |
I need help doing this assignment. Here are the instructions: **5.06 Assignment Instructions – Bottle Cap Prize** **Instructions:** Write a program that uses the Monte Carlo sampling method to estimate the average number of bottles of e-Boost someone would have to drink to win a prize. There is a 1 … | |
BEGIN SEQ (n) IF (n <= 3) THEN RETURN n * 2 ELSE RETURN SEQ (n - 3) + SEQ (n - 1) ENDIF END For instance, for n = 8, I ran it in a compiler and the final return value is 38. I tried tracing it in the … | |
Abstract—A video copy detection system that is based on content fingerprinting and can be used for video indexing and copyright applications is proposed. The system relies on a fingerprint extraction algorithm followed by a fast approximate search algorithm. The fingerprint extraction algorithm extracts compact content- based signatures from special images … | |
a program that asks user to enter number of people their birth year date and month and sorts it i got the algorithm figured out its just the code thats not hitting me! | |
So, I'm trying out a project on my own because I have no real clue how to do anything complex or useful in C++ (applications for example). This project calls for creating a simple console text editor with basic functionality (buffer, command set, redisplay). The problem is that I don't … | |
Hi all, Im trying to write a program that minimizes a Transition Graph (its basically combining states with similar numbers). Basically, the algorithm is to first find states with the same 'a' and 'b' inputs, combine them, remove them from the 'leftovers' list, then find states that have either 'a' … | |
pleas help me Write an algorithm to add and multiply two large integers, which cannot be represented by built-in types. | |
I was promted with this problem, and cant even seem to figure out where to start??? Any help appreciated. Thanks. Write an algorithm for each of the following python operations and test you algorithm by writing a it up in a suitable function. You are not allowed to use the … | |
I am working on a java project for school. I am trying to think more into a professional mindset rather than a student. The project I am working on is about hashing. The rest of the project looks really good, but this part makes me wonder if a professional programmer … | |
Here I have some code that will run a program that generates a bunch of lowercase and uppercase letters from length 15-25 and will swap it first using an iterative swap method. It will then generate a second set of letters and will swap it this time with a recursive … | |
Here I have some code that will run a program that generates a bunch of lowercase and uppercase letters from length 15-25 and will swap it first using an iterative swap method. It will then generate a second set of letters and will swap it this time with a recursive … | |
Given an array A of n integers, give an eficient algorithm to check whether there are two numbers in A whose sum is zero. [ ![]() | |
Last week I was working on some assignments using JDBC and now when I try to run programs in Eclipse this is what I get...and this is only part of the message that appears in the Console box instead of what should show when I run a program. What did … | |
Hello, I have some problems with this code //Selection and Bubble are working #include <iostream> #include <cstdlib> #include <cassert> #include <ctime> #include "Sorts.h" using namespace std; typedef void (*SortFunction)(int a[], int n); int main(int argc, char *argv[]) { if(argc < 4) { cerr << "Usage: " << argv[0] << " … | |
I am going to use exact data matching technique and probabilistic data matching technique for my fyp. But the problem is I cannot figure out what is the algorithm that can be use. the only algorithm that I found is the string algorithm and there are so many of them. … | |
hi i have two question? if i wanted to read in file also, how do i do that? #include <conio.h> #include <iostream> #include <cstring> #include <ctype.h> #include <string> using namespace std; using std::string; enum CardType{ MasterCard, BankCard, Visa, AmericanExpress, Discover, DinersClub, JCB }; bool Validate(CardType cardType, string cardNumber){ int number[16], … | |
I need to generate sequences of games using the round robin algorithm. I have the php page where the user can input the tournament name which will be inserted into the database and it has got a drop down menu up to 32 teams (select number of teams). So if … | |
![]() | Credit card numbers follow certain patterns. A credit card number must have between 13 and 19 digits. It must start with for example: 4 for Visa cards 5 for Master cards 37 for American Express cards 6 for Discover cards So, this here is the code thats identify either a … |
Ok, I am not a professional in PHP as I am more on front-end than back-end. I want to know some information of file upload in PHP. I did create a website as a project where users can upload images, with its security and validation. The images stored in a … | |
Ok so im writing a small java application using Zellers Algorithm to work out the day of the week for a given date. I have never compiled a java program before because i'm still moderately new to the language and IDE's etc. I am using netbeans. I have tried to … | |
I am trying to cluster a sparse matrix with using K-means algorithm. I will use Apache mahout but I did not find any example about how can it be implement with Java. Is there any tutorial or function javadoc about it? I have tried KmeansDriver's run() function but I did … | |
Dear forum members, I am capable of finding the coordinates where sun rays come with a direct angle at a given time/day of the year. I would like to, just as a hobby, create a flat world map with day / night shading line layered on it. So, how do … | |
Hi there, I've been trying for hours to get my Dijkstra algorithm to print the correct path. It collects the correct distance properly, but I just can't get it to print out the path of nodes that it uses! Any help would be great appreciated. 'route' is my string variable … | |
The program works perfectly. But in order for an individual to succeed in computer science, he or she must fiddle around with the program, and come up with other algorithms, such as converting a pre existing one, even it it is more or less efficient. Again the program works perfectly. … | |
[b]Flowcharting [/b] Pseudocode can almost be classified as half-code, half-text. Even as its name implies, it is semi-code. It is used by a programmer to outline the algorithms he or she has written, before they are actually translated into code. It is almost a high-level abstraction of code. For the … | |
I need some serious assistence with finding the solution to this problem, it has plagued me for some time now and im just not getting the big picture. I need to move the elements in a 2d array according to the user input, but the way i have figured out … | |
Hi I'm currently going through some questions, basically studying up one bits for my operating systems unit and my particular weakness is algorithms and 'working out' type questions such as this one below. Consider the following snapshot of the system, with 4 types of resources and 3 processes, P1, P2 … | |
okay so i have this program that is basically like moving the sides to a 2 dimensional rubiks cube. for example 111 222 333 is a 3X3 two dimensional array and when coordinate (0, 1, 2 being 1, 2, 3) 1, 1 (meaning in our number system as 2, 2) … | |
Anyone who know what is optimal replacement algorithm is it optimal replacement algorithm the same meaning with Page replacement algorithm ????? | |
Hi all. I'm starting to learn a bit about template functions and I have a question regarding declaration in a header file. My code is as follows (from "Accelerated C++, chapter 8"): #include "Split_Template_func.h" #include <iostream> #include <iterator> using std::cout; using std::cin; using std::string; using std::getline; using std::ostream_iterator; int main() … | |
how to determine time complexity of the floyd warshall algorithm..how is this better than dijkstra algorithm? | |
Is there a way to modify the bubble sort algorithm so that it will stop as soon as it recognizes that the list is sorted? | |
Hi guys, I'm trying to solve a problem recusrively. I'm asked to multiply two numbers with only using Addition,Subtraction and Comparison. After looking around the internet, it seems that the Algorithm I should use is Egyptian Algorithm . [Click Here](http://en.wikipedia.org/wiki/Ancient_Egyptian_multiplication) I would like some tips on how to solve this. … |
The End.