1,073 Recommended Topics

Remove Filter
Member Avatar for
Member Avatar for Anil2447

Hi...! In Design of Algorithm. I think it is used to calculate the time complexity.... What is meant by STEP-COUNT METHOD? What is the procedure in that to calculate? I want brief explination. ....

Computer Science
Member Avatar for arina_1
1
15K
Member Avatar for Mario_6

I was making this score calculator to take user input so they can add as many numbers as they want, entering the score works fine and so does adding, displaying the score total, displaying the score count, displaying the average, the last thing I have to do is find the …

Computer Science c#
Member Avatar for peter_62
0
395
Member Avatar for Stefce

Hello all, is there some python code or program to crawl instagram? I would like to get the user Username, Bio and 5-6 random pics. - Thank you

Computer Science seo
Member Avatar for peter_62
0
666
Member Avatar for Dhelandel

Is it possible to integrate Perfect Circles of the Golden ratio geometry in designing logo based on these link ( https://goo.gl/images/7eYZoG ) to recognize flower.. What do you think guys? Im planning to have a research on this.

Computer Science python
Member Avatar for rproffitt
0
288
Member Avatar for musa B

I'm a master's student preparing for my master thesis I'm interrsting to be software engineer I need help for topics that will reflect my dream goal as software engineer although my supervisor gave my task to write proposal in natural language processing I dont know if is a good area …

Computer Science java
Member Avatar for Reverend Jim
0
415
Member Avatar for Curious Gorge

Hey so I am trying to finish up a lab that I did not finish during a class this summer. The goal is to have the computer navigate an ASCII maze on its own. We use left/right hand rule to find our way through the maze. IE. you have your …

Computer Science java linked-list
Member Avatar for JamesCherrill
0
665
Member Avatar for Lebohang_1

Hi, I'm trying to convert the timebetween into a decimal, so i can calculate salary. `var TLogIn: TextFile; sLine, sTIn, sTOut,sUser,sTimeOut,sTimeIn,YourHMStr: string; iPosHash, iPosComma, iLength, iTimeIn,iTOut, iWage,iTimeOut:integer; TimeOut,dtDiff,TimeIn:TTime; rTime: real; d1, d2 : TDatetime; Begin //d2 := StrToTime(time()); TimeOut:= Time(); AssignFile(TLogIn,'LogInTime.txt'); reset(TLogIn); while NOT eof(TLogIn) do begin Readln(TLogIn,sLine); iPosHash:= Pos('#',sLine); …

Computer Science
Member Avatar for Bhavik_3
1
205
Member Avatar for happygeek

What has Schrodinger got to do with the complex and paradoxical concept of quantum computing? The answer is that both Erwin and his hypothetical cat relate directly to this subatomic world. In fact, Schrodinger is often referred to as the father of quantum mechanics. ## Erwin who? ## [Erwin Schrodinger](https://en.wikipedia.org/wiki/Erwin_Schr%C3%B6dinger) …

Member Avatar for dkary555
4
1K
Member Avatar for Haranadh

I would like to know Which are the python data structures uses divide and concur algorithm? Please explain me?

Computer Science data-structure python
Member Avatar for rproffitt
0
330
Member Avatar for gajen007

Hi Friends, Recently I've experienced an issue in my (following) code. I've designed an array-stack and checked the values pushed in to it. It works well when pushing but when popping it doesn't display the whole popped values. E.g: If I pushed the values "zero to nine" in to the …

Computer Science c
Member Avatar for rproffitt
0
328
Member Avatar for secrect

i get this error when i try executing it, no match for the operator == now i understand you can't compare a string with a char, so i tried other method like strcmp, covert a to char, but none worked. note: coverting d to string is not an option. #include …

Computer Science daniweb-bug
Member Avatar for AssertNull
0
403
Member Avatar for CS_GUY1234

// Also attached to this question is the assignment sheet. Need help pls. import java.util.*; import java.awt.*; import java.applet.*; public class Lab15st extends Applet { private int numBars; // number of bars to be sorted private int barHeight[]; // array of bar heights private int sortDelay; // delay between comparison …

Computer Science java
Member Avatar for CS_GUY1234
0
511
Member Avatar for it@61@sec

I have an outcome (O) which could have three states: octal 4, octal 2 or octal 1. With three such outcomes I have 27 combinations. The challenge is to find an algorithm which gives me the minimum number of combinations (NK) which always gives me minimum 2 of 3 states …

Computer Science
Member Avatar for AssertNull
0
1K
Member Avatar for CS_GUY1234

// FInished isPal but need help with other few. public class Lab14st { public static void main (String args[]) { System.out.println("Lab 14, 80 Point Version"); System.out.println(); System.out.println("The Palindrome Program"); System.out.println(); System.out.println("By: Arjun Desai"); // Substitute your own name here. System.out.println("\n===========================\n"); boolean finished = false; do { System.out.print("Enter a string ===>> …

Computer Science java
Member Avatar for rproffitt
0
369
Member Avatar for omprakash_1

# Split a dataset based on an attribute and an attribute value def t_split(x, y, z): l, r = list(), list() for row in z: if row[x] < y: l.append(row) else: r.append(row) return l, r # Calculate the Gini index for a split dataset def gini_index(grp, class_values): gini = 0.0 …

Computer Science dataset java python
Member Avatar for rproffitt
0
327
Member Avatar for Sabik

I want to do a software project regarding barcode scanning. Basically I want to take an image of a 1D barcode then process the picture file and Decode the barcode.I am not a great programmer but I know the basics. I want to develop my skills through it. I want …

Computer Science
Member Avatar for vini_1
1
381
Member Avatar for rupali

How to calculate time complexity of any algorithm or program .... need help on this..

Computer Science
Member Avatar for jamie_13
2
50K
Member Avatar for Noname_1

Hi all, I have to solve a tripple sudoku. The program is supposed to solve the enlarged sudoku. We load 21 rows, each with 9 integers in the range <0.9>. Rows 1-9 (numbered so that the first line is numbered 1, etc.), 7-15 and 13-21 are to create a classic …

Computer Science c++ web-design
Member Avatar for Reverend Jim
0
485
Member Avatar for Curious Gorge

So I have a phone screening for an intern position coming up on Wednesday. I had a moment this weekend when I realized that I know more about procedural programming (and problem solving) than I do about OOP, though I do consider myself a strong programmer. For someone who has …

Computer Science oop
Member Avatar for AssertNull
0
282
Member Avatar for Naveen_20

I was just wondering if there are any books to learn how to analyze and debugging code of any programming language in general Thanks in advance for the help

Computer Science
Member Avatar for ddanbe
0
328
Member Avatar for noname_5

Hi there, I am stuck with a problem, and don't know where to start. I need to calculate the closest pair of points on the Earth using a divide and conquer method. I know I should calculate the orthodromic distance (or in other words the great-circle distance) but I don't …

Computer Science c++
Member Avatar for AssertNull
0
943
Member Avatar for Sherwin_4

Below is my code: #include <stdio.h> #include <stdlib.h> #include <string.h> #include <iostream> using namespace std; ///////////////////////////////////////////////////////////////////////// /* // struct Edge // Represent one edge in the graph. Fields contain // two vertex numbers and a weight. */ struct Edge { int vertex_1, vertex_2, weight; }; //////////////////////////////////////////////////////////////////////// /* // struct Graph …

Computer Science c++ linked-list
Member Avatar for Seif_2
0
385
Member Avatar for nadiam

Hello. I'm taking subject compiler construction. and there is a question and the answer that i don't anderstand. if it was digit -> [0 - 9] then it would be ->0->1->2->3->4->5->6->7->8->9 final state digits -> digit+ then it would be ->digit->digit->digit loop final state but this question i dont understand …

Computer Science
Member Avatar for rubberman
0
435
Member Avatar for Sam_20

Hello, I have to create a program that uses the ‘new’ operator to create a dynamic array in heap of the program. The program creates and populates its dynamic array one (int) elements at a time for each input data (cin). Key parts of the assignment. Hello, I have to …

Computer Science c++ visual-studio
Member Avatar for rubberman
0
383
Member Avatar for moin ali khan

In a system implementing paged segmentation, the size of logical address is 42-bit where aprocess can have maximum 128 segments and the page size is 512-bytes. Page table entry size is 4-Byte. Physical address space of the system is 128KB. Compute : i.Maximum number of pages per process ii.Size of …

Member Avatar for rproffitt
0
281
Member Avatar for Dhelandel

How to implement bucket sort in C using Linkedlist.. Or any weblinks please share...

Computer Science
Member Avatar for JamesCherrill
0
262
Member Avatar for nadiam

Hi. I have this Semantic Network exercise with no answer and i just want to check if i am correct. Please check this image: http://imgur.com/a/iC0dW The exercise: Kassim is a 45 year old man who has 2 wives and 7 kids. He workds as a surgeon in a private hospital …

Computer Science
Member Avatar for nadiam
0
185
Member Avatar for kes166

Hello, I've been working on learning VBScript to make a few useful scripts to work with WinNT and make a more user friendly interface when searching for users on a domain. While doing so, I discovered something interesting about arrays and I'm hoping someone could explain if it's just the …

Computer Science user-interface vbscript
Member Avatar for Reverend Jim
0
318
Member Avatar for Jeah_1

Help me create a code that will ask the user the guess the randomly generated integer by the computer using recursive function. Thanks!

Computer Science python
Member Avatar for slate
0
177
Member Avatar for Eugene_8

hi guys im new to c++ can i have some assist ? The manager of a football stadium wants you to write a program that calculates the total ticket sales after each game. There are four types of tickets box, sideline, premium, and general admission. After each game, data is …

Computer Science c++
Member Avatar for rproffitt
0
617
Member Avatar for komal_5

write an assembly language code that will: Read a character (ASCII code) from keyboard using a BIOS interrupt. then have to print that ASCII character in binary number system using DOS interrupt. and have to invert that ASCII code and have to transmit it to a parallel port using a …

Computer Science assembly
Member Avatar for rproffitt
0
170
Member Avatar for DeanMSands3

Hi, Daniweb. I have this hobby project I'm playing with where I need to generate data for a MonteCarlo simulation. The data needs to fit within a bell-curve around a given mean with a standard-deviation. I'm trying to figure out which random distribution system I need to use and how …

Computer Science c++ mathematics
Member Avatar for DeanMSands3
0
393
Member Avatar for sharjeelmumtaz

Please don't laugh at my newbieness, this is an 11th grade CS assignment. Constructive feedback would be higly appreciated Ok, so I have an assignement due for next week. It's fairly straight forward. **Task 1** A school keeps records of the weights of each pupil. The weight, in kilograms, of …

Computer Science
Member Avatar for Reverend Jim
0
1K
Member Avatar for shubham_8
Member Avatar for Jemone_1

My application must let a nurse enter information for a number of patients about the patients' number of repetitions for various otherwise ordinary activities. The nurse gets a book in the format to enter the information. Month Date Day Activity Repetitions January 1 Monday brushed_teeth 9 January 1 Monday combed_hair …

Computer Science c++
Member Avatar for David W
1
381
Member Avatar for Zainab_4

Hi, I would like to know if it is technically possible to develop an automated internet search algorithm. Let me give you a random example of what I have in mind. For example, let’s say I am the largest disaster relief organization in the world and I want to run …

Computer Science
Member Avatar for pritaeas
0
425
Member Avatar for markdean1989

I am an aspiring (at the age of 27) programmer using C++. I have future undertakings including getting a refresher course at a premier University in my country. I am just interested to know in advance how it is to become a programmer. What are the regular routines that you …

Computer Science
Member Avatar for markdean1989
0
308
Member Avatar for cproger

I have a Combo box/Dropdown and when a user clicks an option I want the combo box to set the text onto a jTextField. For example: if(carsJComboBox.getSelectedIndex() == 0) { currentCarsJTextField.setText("250 Million"); } if(carsJComboBox.getSelectedIndex() == 1) { currentCarsJTextField.setText("500 Million"); } The problem is that when the program runs, it automatically …

Computer Science java
Member Avatar for JamesCherrill
0
327
Member Avatar for nana_1

Hi, I need help reading this [.csv file](https://drive.google.com/open?id=0B5UH8MuMzUBaR0FRYmhTWnNxdW8) into an array of vectors i created below: `vector<string> GID; // Vector holding Gift ID vector<string> DName; // Vector holding Donor Name vector<string> Phone; // Vector holding Phone Number vector<string> POC; // Vector holding point of contact vector<string> Item; // Vector holding …

Computer Science c++
Member Avatar for AssertNull
1
300
Member Avatar for Roger_2

**below is the problem i am given, after this i explain where i am at so far and the code i have created, **Write the following functions in Scheme: 1.a "digitinc4" -takes as input a 4-digit integer, and returns another 4-digit integer constructed of the original input integer's digits, each …

Computer Science
Member Avatar for Taywin
0
461
Member Avatar for EVELYN_2

I am testing my program "Pats Auto Repair shop" that includes the mainform with menustrips for file, process and help, Splash form, About, Job information form and summary form. The process has two subs, job information with a separator for "summary", and summary form. I written all coding solutions for …

Computer Science vb.net
Member Avatar for tinstaafl
0
254
Member Avatar for i.

I have this problem which says, "A programmer can use the random feature to emulate the flipping of a coin. For example, if the generator produces a number 0 or 1, the value 0 can be assigned heads and the value 1 can be assigned tails. Write a program that …

Computer Science
Member Avatar for AssertNull
0
552
Member Avatar for i.

I have a problem with my pseudocode: Declare Integer p1 Declare Integer p2 Declare Integer p3 For p1 = 1 To 3 For p2 = 65 To 66 For p3 = 6 To 8 Display p1, p2, p3 End For End For End For This would display 18 combinations. But, …

Computer Science
Member Avatar for AssertNull
0
386
Member Avatar for mike_36

1. FCFS non-preemptive (results provided) 2. SJF non-preemptive 3. MLFQ

Computer Science c++
Member Avatar for happygeek
0
303
Member Avatar for i.

Hello! I am totally stuck. My assignment says, "At one college, the tuition for a full-time student is $6,000 per semester. It has been announced that the tuition will increase by 2% each year for the next five years. Design a program with a loop that displays the projected semester …

Computer Science
Member Avatar for AssertNull
0
4K
Member Avatar for Bryan_5

I have a notepad that consist of two data which is the title and the name. I've declared the title using an enum. The enum contain this variables. enum Title {Miss, Mrs, Mr, Dr, Unknown}; Then in my structure, I attempted to call the variables from the enum like this …

Computer Science c++ data-structure
Member Avatar for tinstaafl
0
182
Member Avatar for Stefce

Hello i have list of football teams on every line is a new team but there are countries in brackets i want to remove all of them, here is a example of the list: Águila (El Salvador) Águilas (Costa Rica) Águilas Doradas (Colombia) Árabe Unido (Panama) Åtvidaberg (Sweden) Ñublense (Chile) …

Computer Science
Member Avatar for cereal
0
377
Member Avatar for mariam_4

i should to move the biggest value to the last index in the array then to print the array. when i print it i get things like letters, smiles... what is the wrong in the code? .model small .stack 100h .data array db 3,8,5,3 n equ 4 b db dup …

Computer Science assembly
Member Avatar for rproffitt
0
281
Member Avatar for Lily_3

heyy, i'm having problems with this . can anyone help? i really need help to change this into a pseudocode. Age < 55 Male : 0% tax if annual income < 10 000, 10% tax if 10 000 ≤ annual income ≤ 50 000 20% tax if 50 000 < …

Computer Science
Member Avatar for FC Jamison
0
222
Member Avatar for Usman_10

Email not send .What is this error using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Net; using System.Windows.Forms; using System.Net.Mail; using System.Threading.Tasks; namespace send_email_new { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void existbutton_Click(object sender, EventArgs e) …

Computer Science email
Member Avatar for cereal
0
133

The End.