Our Computer Science forum is the place for Q&A-style discussions related to software design and schema, mathematical theory, and algorithms.

17 16 14 14 13 8 8 8 7 7
Member Avatar
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.
by Muhammad Arslan_1 in Computer Science ()
c++
Member Avatar
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 …
by Aries_Child in Computer Science ()
Member Avatar
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: …
by jodytj in Computer Science ()
Member Avatar
Please see attachment. Any help is appreciated! :D
by programmer12 in Computer Science ()
Member Avatar
I wrote this code : ... Why is a 8 characters long and set to integer equal to 8, but c and d are both equal to 7, but they too are 8 characters in length ?
by CodyOebel -2 in Computer Science ()
c
Member Avatar
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: …
by paula12 in Computer Science ()
Member Avatar
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 …
by Adam_28 in Computer Science ()
Member Avatar
... this is what i have so far but the program won't run due to an indention error or an error related to the break.
by btp06b in Computer Science ()
Member Avatar
I'm still getting one error not sure why? ... Thanks. ...
by DS9596 in Computer Science ()
c++
Member Avatar
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, …
by rey619 in Computer Science ()
Member Avatar
write a pseudocode algorithm to accept a group of numbers and print there product and average the program must end when user enter 999
by Thee Anointed -3 in Computer Science ()
Member Avatar
Hi there. I must create a NDFA which accepts the language ((0|1)(10))*. The problem is i've done only few exercises about NDFA and i'm confused. Does this language means that: 010 or 11*0 -> many times? Do you know if this one is fine?? [img= It's too difficult for me …
by kantze in Computer Science ()
Member Avatar
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 …
by michael_51 in Computer Science ()
Member Avatar
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.
by Noureldin_1 in Computer Science ()
Member Avatar
Hello to all! I had a folder named "Myprogs" in partition E, which contained more than 300 C++ programs. I don't know when, but I have permanently deleted my folder by mistake. Please tell me if there is any method by which I can recover my folder. I will be …
by Saboor Siddique -3 in Computer Science ()
Member Avatar
if you can help please text me @ ... ... if you can help please text me @ ... ...
by ravikishorerk19 in Computer Science ()
Member Avatar
I need some help with an assignment. It's already done, however my teacher made specific comments thatneeds to be addressed before I can resubmit it. - I have the wrong implementation in insertFront() and removeRear() methods. - I am missing a wrap-around in my peek() methods. - I did not …
by rhaylee in Computer Science ()
Member Avatar
Hello. We're going into Constructora and super, using extends, subclasses etc. I have this code: ... and there is a compilation error in the subclasses. i understand that UndergradStudent inherits the private fields of Student but cannot do anything with it because its private, would that cause the error? Could …
by nadiam in Computer Science ()
Member Avatar
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. ... id thats refered to is in the Main Class: ... Problem Description To celebrate the 2nd anniversary …
by nadiam in Computer Science ()
Member Avatar
...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 …
by vishalsingh1080 in Computer Science ()
Member Avatar
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 …
by jo386 in Computer Science ()
Member Avatar
I have to store the scores of people in a text file as an array, and I should be able to add each record on the array. This is the part of the code where the scores are being stored: ... However, when I add a new score, it gets …
by Sibghah in Computer Science ()
Member Avatar
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]) ... But then …
by Sibghah in Computer Science ()
Member Avatar
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..
by pretty_4 in Computer Science ()
Member Avatar
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?
by jKidz in Computer Science ()
Member Avatar
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 …
by genesistobe44 in Computer Science ()
Member Avatar
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. ... Cheers
by JosesMelo in Computer Science ()
Member Avatar
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 …
by taylor0934 in Computer Science ()
Member Avatar
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 …
by mariamalfarsi in Computer Science ()
c++
Chat Log Latest Posts