Computer Science
Subforums
-
Discussion of computer problems
- 434 posts
3274 topics in this forum
-
"Notice that Lisp is an object-oriented language in the sense that it evaluates objects, not expressions." Common Lisp (Shapiro) On searching for definitions of both elements of the dicotomy: OBJECT: In computer science, an object is any entity that can be manipulated by the commands of a programming language, such as a value, variable, function, or data structure. (With the later introduction of object-oriented programming the same word, "object", refers to a particular instance of a class)(Wikipedia) EXPRESSIONS: An expression in a programming language is a combination of explicit values, constants, variables, operators, and functions that are inter…
-
0
Reputation Points
- 3 replies
- 1.7k views
-
-
Hello. I am a new CSC 111 student, and I seem to be having trouble on this problem that involves making forms in an interactive style. I do have a program up to this point, but I'm confused on how to designate the height for this program, how to do the "time" portion of this program, and my program doesn't seem to act interactively or print the forms the right way. May I please have help with this problem? I would really appreciate it. Thank you! Here is the problem followed by my code (together as an attachment): python 3.2.rtf
-
0
Reputation Points
- 0 replies
- 784 views
-
-
I have ran into some license issues and we're having a software compliance audit at my workplace. I would like to know if anyone has a good alternative to either Photoshop or Dreamweaver that is free software. Thank you.
-
0
Reputation Points
- 13 replies
- 4.4k views
- 1 follower
-
-
I'm kinda new to programming. What does functional programming means? And what does imperative means? I've already searched for definitions but their implications weren't clear to me.
-
0
Reputation Points
- 13 replies
- 2.3k views
- 1 follower
-
-
-
I am planning on going to Indiana University of Pennsylvania to get a B.S. in computer science. They have two tracks I can choose to do. On is Applied track for Computer Science. Link is http://www.iup.edu/page.aspx?id=25301 The other is Languages and Systems track. Link is http://www.iup.edu/page.aspx?id=25303 can someone campare the two programs and tell me the difference and which one I should choose and why. Thanks
-
0
Reputation Points
- 0 replies
- 1.1k views
-
-
Hello I am new to this forum although I have used this site for some time. I got stuck with the following task and need some help. I have to draw a transistor diagram of a CMOS gate with the following logical function F (a, b, c) = (a * b + a * c + b * c) ' The gate must be made up of only One pull-up and a pull-down network. It should be connected in the same step not be linked to several steps with AND, OR and NOT gates one after another. I am not asking anyone to solve my task i just need some help. I have read and been understanding how CMOS gates working but I was a little difficulty to construct the gate. Is it any particular method for constructi…
-
0
Reputation Points
- 2 replies
- 3.8k views
-
-
Hi, I am trying to solve a problem where two processors are give. Processor X is pipelined and Y is not pipelined. The following data are given for both processors: 1. clock frequency, 2. CPI for the ALU instructions, 3. CPI for control instruction, 4. CPI for FP instructions, 5. CPI for memory instructions I have to find which processor will have better performance while executing a program where : 30% ALU instructions, 20% control instructions, 50% memory instructions. This is my approach: At first for the non pipelined processor, I will first find out out the avg CPI. As an example if for processor Y, 1. clock frequency- 10GhZ, 2. CPI for the ALU…
-
0
Reputation Points
- 0 replies
- 2k views
- 1 follower
-
-
The promise of reversible computation is that one-to-one logic gates don't have a theoretical minimum amount of energy they have to expend, lowering heat generation and thus allowing more operations per second safely. The problem with one-to-one logic gates is that they quickly fill memory. What I was wondering is if reversible computers could be feasible if information that needed to be erased were 'transported' by a series of gates to a certain part of the computer. All heat from erasing memory would be generated in one place that could be designed for efficient heat exhaust and wouldn't introduce a ceiling on the highest safe operations per second. What do you thin…
-
0
Reputation Points
- 1 reply
- 1k views
- 1 follower
-
-
I am currently taking an undergraduate level computer architecture course and I am having a little bit of difficulty with a homework question. The question is asking us to determine whether or not overflow has occurred based on whether the leading digit of the binary sum is 0 or 1. If overflow occurs, the final output is supposed to be 1. If it does not, the output should be 0. Honestly, I am not sure where to begin with this. I was considering using an adder and feeding the output into a MUX as the operational line, but then I wasn't sure what I'd use as inputs. I'm assuming that an adder and MUX are the correct tools to use, but I guess I'm just unsure about the ent…
-
0
Reputation Points
- 2 replies
- 979 views
-
-
Hello I'm Nathon aka (xiVFINISHERVix) I'm going to be starting College this Spring. I want to get a head start before I start Computer Science in 2 years. I wanna know everything I will be learning in Computer Science or what I should learn before taking the classes. I wanna beable to walk into class and pass it with no problem. Can someone please tell me what I would be taken and what I need to lean before going into Computer Science. Thanks xiVFINISHERVix
-
0
Reputation Points
- 5 replies
- 2.6k views
- 1 follower
-
-
Hey guys, I wrote a C++ tic tac toe program in my Comp Sci class last year, I was just wondering if anyone had any constructive criticism for it. It was written on Turbo C++ for an XP machine. Here's the code, you can c/p it into your compiler //tictac.cpp /* Illustratespassing a 2-dimensional array to a function. */ #include <iostream.h> #include <h:\boolean.h> //initializes the boards to all '*' void initialize(char T[3][3]); //prints the grid onto the screen. void printArray(char T[3][3]); //player's turn //element R,C will be set to 'X' or 'O' //returns true if successful, false if not. boolean playerTurn(char T[3][3]…
-
0
Reputation Points
- 2 replies
- 1.7k views
- 1 follower
-
-
Hi there, I am trying to implement a calbration phase to an application I have already written in C++, which uses the Wiimote and sensor bar to move a crosshair around the application window. Wherever I turn, everywhere says to use 2D Homography - a process which warps one rectangular area onto another. I would be mapping a user-defined active area of the Wiimote IR Sensor onto screen coordinates. Potentially, as the active area is user-defined, it could be one screwed up trapezoid, making any other method of calibration that I know of close to impossible. 2D Homography involves creating a homography matrix H, which can be applied to any point (P) on the activ…
-
0
Reputation Points
- 0 replies
- 1.7k views
-
-
Can anyone suggest Information visualization project topics? Thanks.
-
0
Reputation Points
- 1 reply
- 1.1k views
-
-
I understand there are older programs and java is the most recent but what is the difference between java and other programs is it just the methods that change or the objects?
-
0
Reputation Points
- 17 replies
- 4k views
- 1 follower
-
-
hi everyone.....can any one please briefly explain how random walk works if i want to move from one node to another?
-
0
Reputation Points
- 2 replies
- 1.5k views
-
-
Hello Friends! I am somewhat new to scientific charting) more accustomed to working in Excel, but I think I have run into its limitation as regards to charting…I am not sure if it can do the following… I wanted to ask if there is charting software that can do these tasks: 1) Take the time series data from excel, each data series will have two describers – COLOUR and THICKNESS 2) plots each time series data in such a way as: a) colors the time series according to a time series criterion (eg. 1 for red, 2 for black) b) allows to adjust the thinness of the plotted series based on another criterion (e.g. 10 very thick, 2- close to hairline) Thanks for you…
-
0
Reputation Points
- 6 replies
- 1.6k views
- 1 follower
-
-
I do know how to convert normal/whole numbers, but i can't do this - Question1) Convert the decimal number 7.52 to binary (8-bits after the binary point, not rounded) ? Question 2) The reverse for the above question - Convert Binary Number 109.0011 to decimal exactly ? Would appreciate if someone can give a explanation to do this without using a calculator, as i want to learn how it is done with pencil and paper. Thank you in Advance.
-
0
Reputation Points
- 4 replies
- 2k views
-
-
So, what do you guys think of Google+? So far, I've not got enough people in my circles to really be able to tell. I also haven't played with it much yet.
-
0
Reputation Points
- 17 replies
- 4.4k views
- 1 follower
-
-
Hello, I signed up for the final Computer Architecture course in my college for next semester. This means a large portion of the summer dedicated towards preparing and studying. However, I need to focus on somethings more than others, specifically ones that will benefit me programming (C++) wise. Can someone explain to me exactly how my knowledge in such concepts can affect my programming expertise? For example these are some of the topics that we will cover next semester (I know it's a long list). Can someone explain to me how some of these can help me with being a better programmer exactly? Almost everything I learned on the subject has been too gene…
-
0
Reputation Points
- 3 replies
- 1.5k views
-
-
this is my code: // CreatProcess.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include <Windows.h> #include <stdio.h> #include <iostream> #include <Psapi.h> #pragma comment(lib,"Psapi") using namespace std; void _tmain(int argc, _TCHAR* argv[]) { int intNumberofProcesses; cout << "Enter Number Of Processes:" << endl; cin >> intNumberofProcesses; STARTUPINFOA startUpInfo = {sizeof(startUpInfo)}; PROCESS_INFORMATION processInfo; int intNumberOfOpenFiles = 0; int processCounter = 0; for(int i = 0; i < intNumberofProce…
-
0
Reputation Points
- 1 reply
- 922 views
-
-
as you know everyone wants something free was wondering if anyone knew any good links they would be willing to share like free movies. net or icefilms.com
-
0
Reputation Points
- 1 reply
- 1.1k views
- 1 follower
-
-
I downloaded a cd from the internet but its not audio its a language program however i lost the file and need to recover the program i tried copy and pasting but it would not launch any tips
-
0
Reputation Points
- 1 reply
- 1.3k views
- 1 follower
-
-
Hi guys, got a small issue. I'm developing a site and I'm using the 960 Grid System, which is great everything should mathematically be alligned. I've got this problem as you can see above the social networking bar extends outside of the grid system. I've increased the padding on the links as a test just to see if was the links but it seems to be the division/div itself. Here's some source code, HTML: <div id="secondnavbar" class="grid_12"> <!--AS YOU CAN SEE ITS SET AT grid_12 SO I'M STUMPED--> <p class="navpar"> Social Media: <a href="http://www.facebook.com/aberguild" class="facebook"> FACEBOO…
-
0
Reputation Points
- 1 reply
- 1.3k views
-
-
Betsharks is the right place on the Internet to play online poker. 3D poker software with a range of avatars to choose from, free download, great promotions, lucrative bonus offers, real money and play money. Play poker online now, or choose to play casino games with blackjack, baccarat or slots. You can play tournaments, satellites, sit and go's or speed along to some classy regional variants of online poker.At Betsharks you will be a member of one of the most advanced poker rooms today and have a gaming experience that you will truly enjoy. You are always at the heart of the action. We have strategy articles for poker players of all skill levels as well as great tips fo…