1,073 Recommended Topics

Remove Filter
Member Avatar for
Member Avatar for A.M.H

I need an idea for cloud computing graduation project. I was thinking about security and encryption , but most of the ideas are more suitable for a research rather than an application, so I am thinking of making a cloud-based embedded system. What kind of embedded systems can benefit from …

Computer Science
Member Avatar for jwenting
0
309
Member Avatar for Danny_15

Recently, I've been writing some sort of thesis. Mostly a study note, for helping me (and others) with architecting a program because all those confusing and complicated concepts. I'd like some peer reviews, because most of the material in the are based on ideas rather than practical experience.

Computer Science web-design
Member Avatar for Danny_15
0
211
Member Avatar for Arshad Syabrin

Given a positive decimal number, we can convert the equivalent numbers in binary; in octal and in hexadecimal. Due to the hexadecimal numbers, it is better to use character arrays to store the various conversions. We propose the following structure to store the information of a number: Working on a …

Computer Science c++
Member Avatar for rubberman
1
214
Member Avatar for sam_21

Write a program in C++ to prepare a frequency distribution table of the percentage marks in Computer studies of sixty students, to be taken as inputs, into the following categories Category Marks(%) Fail 0-34 Pass 35-59 Good 60-79 Very Good 80 and above

Computer Science c++
Member Avatar for happygeek
-2
429
Member Avatar for Shellie_1

I really want to learn Java but I have no idea how to study it. I just keep reading the books yet have no idea how to program. :(

Computer Science java
Member Avatar for Zycog
0
501
Member Avatar for Sourav_6

We need to select a foreign language out of German,Chinese,Japanese,Korean & French for our third semester of B.tech degree in computer Science,so which language should i choose???

Computer Science
Member Avatar for ddanbe
0
145
Member Avatar for elektro123

Hello! I have to implement Adaptive Huffman Coding in C++. I can't find good source of knowledge about this algorithm. If someone know websites describing Adpative Huffman Coding in intelligible way, please post them. In addition, I prefer pseudocode, than steps/block scheme. Thanks in advance! PS. If I posted my …

Computer Science
Member Avatar for Zlatan25
0
3K
Member Avatar for se00an

Hello all, Inverting an upper (or lower) triangular matrix is a trivial algorithm, due to the nature of the matrix. I am having an issue getting a part of my upper-triangular matrix inversion function to work, and I would like to get it working soon for a personal project. From …

Computer Science
Member Avatar for Ivan_12
0
905
Member Avatar for vishalsingh1080

I want to learn java for competitive programming . I'm actually aware of all the great books on java like thinking in java , effective java etc. But those books are very detailed . i want to learn enough for competitive programming without going into too much of unnecessary details …

Computer Science java
Member Avatar for AssertNull
0
732
Member Avatar for quatrosem

There is a problem of facility location that I solve with genetic algorithms. I can get good results. So I would like to compare my genetic algorithm complexity O(n^2) with the brute force algorithm. But I am not getting an answer. (n = number of individuals in my population, usually …

Computer Science
Member Avatar for Gribouillis
0
472
Member Avatar for williamsmith007
Member Avatar for happygeek
0
336
Member Avatar for williamsmith007

please suggest any software to create a video useing images

Computer Science video
Member Avatar for rproffitt
0
216
Member Avatar for sangatik

Design and implement an application that determines and prints the number of odd, even, and zero digits in an integer value read from the keyboard. (java) using for loop

Computer Science java
Member Avatar for AssertNull
-4
302
Member Avatar for cproger

I am writing a code for a user to choose numbers in a progress bar. For some reason the progress bar does not fill up or empty when the int progress is not exact. For example: The progress bar value is 5 at the moment. The user chooses 250 Million …

Computer Science java
Member Avatar for cproger
0
252
Member Avatar for Usman_9

#include<iostream> #include<stack> using namespace std; struct node #include<iostream> #include<stack> using namespace std; struct node { int data; node *left; node *right; }; class usman { private: node *root,*leaf; int count; public: usman(); //~usman(); bool input(); void call(); void preorder(); void postorder(); }; usman::usman() { root=leaf=NULL; count=0; } bool usman::input() { …

Computer Science c++
Member Avatar for rubberman
0
200
Member Avatar for Usman_9

hy ,i make binary tree,the input of binary tree in correct.but issues traversing of binary tree using stack ,because the result of traversing is wrong .please solve this issues. #include<iostream> #include<stack> using namespace std; struct node { int data; node *left; node *right; }; class usman { private: node *root,*leaf; …

Computer Science c++
Member Avatar for rubberman
0
194
Member Avatar for DS9596

Can someone check if I got these correct please?? I'm pretty sure I missed almost half of these so I really need help on these. If someone can explain how to get an answer, that would be great. a: 5 b: address of location of x (0x....) c: address of …

Computer Science c++
Member Avatar for jacks009
0
309
Member Avatar for rey619

I'm trying to Add a method to create a random size and position rectangle and add it to the Python list created in my constructor, The colour of the rectangles are based on the rainbow colours (‘red’, ‘orange’ ‘yellow’ ‘green’, ‘blue’ and ‘purple’) this is the current code I have, …

Computer Science
Member Avatar for Nether_1
0
2K
Member Avatar for Aries_Child

Assignment Overview1 This assignment focuses on the design, implementation and testing of a Python program which uses file processing, lists and strings to solve the problem described below. Program Specifications: The New York Times newspaper has published “best seller” lists since 1942. Book sales are tracked nationwide, leading to a …

Computer Science python
Member Avatar for jacks009
0
590
Member Avatar for Adam_28

Hello all hope all is well, Im new to c# and new to the site so bare with a noob :). any way I have an assignment and Im running in to a problem where I don't know how to have c# read a text file and turn the numbers …

Computer Science c
Member Avatar for jacks009
0
337
Member Avatar for jaiop

{ SumOddEven(A,n) //A is array and n is size of array { int count, sum; for(int i = 1; i<=n; i++) { sum_even=0; sum_odd=0; for(int j = i; j<=n; j++) { if (A[j] Mod 2 == 0) //check if number is even sum_even=sum_even+A[j] //Sum even numbers else sum_odd=sum_odd+A[j] //Sum odd …

Computer Science
Member Avatar for dannyniu
0
308
Member Avatar for Scott_14

I am using Visual Studio 13 and programming in visual basic for a intro CSCi class. I need to write a program to calculate weekly pay using a textbox to enter the number of hours via click event, a listbox showing the hours entered, then a text box for hourly …

Computer Science pay-per-click
Member Avatar for jacks009
0
289
Member Avatar for EB0111

Write a program to generate a pair of private and public keys. You program should also be able to encrypt and decrypt messages using the public and private keys. here is my program: import java.io.*; import java.math.*; import java.security.*; import java.security.interfaces.*; class generateKeyPair { public static void main(String[] array){ if …

Computer Science
Member Avatar for jacks009
0
272
Member Avatar for nadiam

Hello. We're going into Constructora and super, using extends, subclasses etc. I have this code: class Student { private String name; private String matric_no; public Student(String n, String m) { name = n; matric_no = m; } } class UndergradStudent extends Student { private String programme; public UndergradStudent(String n, String …

Computer Science java oop
Member Avatar for jacks009
0
245
Member Avatar for Kenny_1

so the program needs to dynamically allocate an array large enough to hold a user=defined number of test scores. once all scores are entered, the array should be passed to a function that sorts them in ascending order. another function should be called that calculates the average score. the program …

Computer Science c++
Member Avatar for Kenny_1
0
1K
Member Avatar for Gà_1

Hi every one, I had implemented Karatsuba algorithm in C++, but I have been stuck for 2 days. First problem is the function give incorrect answer, second problem is it oftens crash when run (runtime error). I try to debug but cannot understand how it's not work. I hope someone …

Computer Science c++
0
233
Member Avatar for rob2

Hi fellas I'm reading "Teach yourself C++" book by Herbert Schildt to learn C++. there is an example in chapter 10 which is tough to me. this is the code I'm talking about: #include <iostream> #include <cstdlib> #include <cctype> using namespace std; class list { public: list *head; // pointer …

Computer Science c++
Member Avatar for Gribouillis
0
233
Member Avatar for crazyninja247

Test Scores #2 Modify the program of Programming Challenge 2 to allow the user to enter name-score pairs using two parralell arrays. For each student taking a test, the user types the student’s name followed by the student’s integer test score. Modify the sorting function so it takes an array …

Computer Science c++
Member Avatar for rproffitt
-1
2K
Member Avatar for Muhammad Arslan_1

Write a program to find the integer square root of a given number.That is the largest integer whose square is less than or equal to the given number.

Computer Science c++
Member Avatar for mabdullah4
0
195
Member Avatar for jodytj

Need help fixing python program: I keep getting the following when I try to add students to the list: line 72, in add_student entry = students_lab10.Students(name, idn, gpa, grade, hours) NameError: name 'students_lab10' is not defined ######################################################## Create a class named Student that holds the following data about a student: …

Computer Science
Member Avatar for hericles
0
800
Member Avatar for CodyOebel

// Example program #include <iostream> #include <string> int main() { int i=1; int x; x = ++i + ++i + ++i; std::cout<< x; return 0; } ////////Why am I getting 10 and not 9 ? /* if i starts at 1, increment operator takes precedence so that means 2 3 …

Computer Science c++
Member Avatar for AssertNull
0
484
Member Avatar for CodyOebel

I wrote this code : #include <stdio.h> int main() { int a,b = 10,c,d; a = printf("b is %d\n",b); c = printf("a is %d\n",a); d = printf("c is %d\n",c); printf("d is %d\n",d); // lose a null terminator in the previous strings ?? c and d // are 7, but a …

Computer Science c
Member Avatar for CodyOebel
0
309
Member Avatar for programmer12
Member Avatar for rproffitt
0
213
Member Avatar for paula12

hello, i have this assignment but i got stuck on number 2. Question 1: Create a 3x3 array, each filled with a digit 1-9 so that the array resembles a num pad. Use for loops and construct 3 different, correct ways to print the elements of this array. **Question 2**: …

Computer Science c++
Member Avatar for ryantroop
0
116
Member Avatar for kantze

Hi there. I must create a NDFA which accepts the language ((0*|1)(1*0))*. The problem is i've done only few exercises about NDFA and i'm confused. Does this language means that: 0*1*0 [B]or[/B] 11*0 -> many times? Do you know if this one is fine?? [URL="http://img245.imageshack.us/my.php?image=helper2.jpg"][img=http://img245.imageshack.us/img245/5189/helper2.th.jpg][/URL] It's too difficult for me …

Computer Science
Member Avatar for adityasai79
0
800
Member Avatar for btp06b

# This program converts US measurements # to metric measurements. # Constants for valid values VALID_VALUE = 0 MAX_TEMP = 1000 def main(): print(''' 1.Miles to Kilometers. 2.Farenheit to Celsius. 3.Gallons to Liters. 4.Pounds to Kilograms. 5.Inches to centimeters. 6.Exit. ''') input('What would you like to convert?') if selection == …

Computer Science python
Member Avatar for Freshly
0
493
Member Avatar for DS9596

I'm still getting one error not sure why? Error 1 error C4700: uninitialized local variable 'arranged' used 74 Thanks. #include <iostream> #include <iomanip> using namespace std; //Function prototypes void sortTestScores(int *TestScores, int size_Test); double avgTestScore(int *TestScores, int size_Test); void printTestScores(int *TestScores, int size_Test); int main() { //Define variables int *TestScores; …

Computer Science c++
Member Avatar for DS9596
0
201
Member Avatar for michael_51

Another common statistical measure is the standard deviation, which provides an indication of how the indivdual values in the distribution differ from the mean. to calculate the standard dev. whose element are x1, x2.....xn you need to perform the ff steps a. calculate the mean of the distribution b. go …

Computer Science c++ java
Member Avatar for stultuske
0
164
Member Avatar for Noureldin_1

Write a C++ program that reads in two partially filled arrays. One array contains student IDs (with int type) and the other contains GPAs (with double type). The program will sort the two arrays according to the student ID and print out the results.

Computer Science c++
Member Avatar for Eng.
-3
265
Member Avatar for nadiam

Hi. so we have this tutorial, a program that we have to complete, that we have to do before attending class and I've sort of completed it except for this small error. > Exception in thread "main" java.lang.Error: Unresolved compilation problems: > id cannot be resolved or is not a …

Computer Science java
Member Avatar for nadiam
0
468
Member Avatar for vishalsingh1080

...well I'm just about to step into my sophomore year in college as a computer science engineer, undergraduate . I was eager to know about all the important and world renowned competitions that are held in the field of computer science. I just know about ACM ICPC . I'm interested …

Computer Science java
Member Avatar for vishalsingh1080
0
332
Member Avatar for jKidz

Hi Guys, I have a small question. Think Person A is yahoo email user. Person B is Gmail user. Person A sent an email with 'Document01.docx' to Person B. Now, which email provider hosting Document01.docx? Yahoo or Gmail? Please explain what is happening to email attachments?

Computer Science email web-server
Member Avatar for koupon
0
290
Member Avatar for jo386

Hello all. I apologize in advanced if this has been asked before but I have not been able to find this information via google or searching here. Everything I found is related to how a for loop works. I know how to use a for loop in python and what …

Computer Science python
Member Avatar for rproffitt
0
288
Member Avatar for Sibghah

I need to sort some information from an array. I'm trying to find the minimum value out of two numbers, from a csv file, the first part of the information in the file is the names of people, so instead of 0, I put 1 in int(row[1]) import csv print("1 …

Computer Science
Member Avatar for Sibghah
0
232
Member Avatar for pretty_4

**i have to make a project program in C#.. i need some guidance about what to make and how.. i am little bit confuse about what to make .. So can please help me out Thank you..**

Computer Science c++
Member Avatar for pretty_4
0
200
Member Avatar for JosesMelo

Hello, I have 2 **wstring** variables: std:wstring first =L"Jose"; std:wstring second = L"James"; How can I combine these variables: first + second gives an error in Visual Studio. Cheers

Computer Science c++
Member Avatar for rubberman
0
4K
Member Avatar for taylor0934

Hi, I needed some assistance on this program I am working on. First its about putting airplanes into gates, if no gates are open the print airport full. Right now mine simulates all the arrivals and departures. I show it put it will change when I implement the Stack. The …

Computer Science c++ web-design
Member Avatar for David W
0
1K
Member Avatar for JosesMelo

Hello, Is there any limitation for the length of array variables in C++? Can I specify the length as wanted or is there any limitation for the array length? What should be the array length, if the length is not known. wchar_t commandString[10000]; Cheers

Computer Science c c++
Member Avatar for rubberman
0
291
Member Avatar for genesistobe44

Write a well structured program that will accept the following fields of record in a data item, surname, other names, age, address, occupation, department, level, and grades for 15 different courses. 1. The program should be able to compute the CGPA of each candidate when scores for the courses are …

Computer Science pascal seo
Member Avatar for rproffitt
0
250
Member Avatar for mariamalfarsi

Write program that reads an integer array until -1 is entered. It asks the user to enter starting and ending subscript of the array (index number). The main will call a recursive function that takes an integer array, a starting subscript and an ending subscript as arguments, and returns the …

Computer Science c++
Member Avatar for rubberman
0
143

The End.