Explore BrainMass

Programming Languages

Coding for Excel

I am trying to write code that would sum 5 cells and then round to either .00, .25, .50, or .75 depending upon what range the sum of the cells falls into. Example if the sum of the cells equals 1.17 then I would need to round to 1.25. If the sum of the cell equals 15.38 I would need it to round to 15.50. So if the range of the d

Establishing table structure

You are now going to create the final table list for Fernando's Skate Shop. Use the following preliminary field list and list of subjects to get started. Realize that the lists are incomplete and you may need to add more information as necessary by inferring data from what you know about the case. Be sure to provide a rationale

What is RSS?

What is RSS? Describe a real-world application that uses RSS.


Mr. Oldie wants to share his wisdom too, but on a different topic: "These OO-guys looked at hardware assembly and car assembly mechanisms and dreamed that they can do it in software. They aimed for the moon using OO paradigm, but they ended up in clouds! OOD/OOP does not really make such "stand-alone" components that fit togethe

Could a function also be called an inheritance?

In computer programming would you say that a function could also be called an inheritance product due to the reuse of it in the program? A while loop that calls the function once the statement is true can be used over and over. What do you think?

Read Write Data

Find the write-write, read-write, and write-read dependencies in the following assembly language program: I1: LOAD R1, A // R1 -MEMORY (A) I2: ADD R2, R1 //R2 -R2 + R1 I3: ADD R3, R4 //R3 -R3 + R4 I4: MULTI R4, R5 //R4- R4 * R5

Object Oriented System Design with UML

? Build use case diagrams and write use case descriptions ? Build class diagrams for static system modeling ? Build collaboration and sequence diagrams for dynamic system modeling Aims This assignment aims to establish a basic familiarity with the object-oriented system design and the use of UML for system modelling Ob

Development of software

Give an example of how efforts in the development of software can pay dividends later in software maintenance.

Question about Reusable Code

You realize that the code you had created can be reused for many other purposes for future programs. You decide to create a library for your reusable code. Using the pseudocode for the program, you identify the aspects of the program that can be reusable and write/rewrite it so it can be reused. You rewrite your pseudocode to im

Finite-state automata

Hi, I'm looking for a FSA (Finite State Acceptor) for all binary strings containing an odd number of 0's. A state diagram is the easiest for me to understand. A valid regular expression to describe the language (I've verified this) is 1*0(1+01*0)* Thanks!

Binary Cyclic Codes

Determine all binery cyclic codes of length 5. Note: To find all cyclic codes of length n, find all ideals in B[x]/x^2+1 Note: If 1 is an Ideal (I) then R = I. Example: n=2 R=B[x]/x^2+1, x^2=1 R={o,1,x,1+x} Ideals <0> = 0 <1> = R x = (0, x, x^2...) = (1,...

Programming Concept

Please describe this program for me. (See attached files for full problem description)

Writing a Narrative Program: Example Currency Conversion

Using the C compiler, write a C program that contains your narrative from broken down into one line sentences, that have been commented out. Write English narrative that converts currency. The narrative should display a title, "Currency Conversion," and then write the names of currencies and exchange rates. Allow the user

COBOL: Widely used Business-Oriented language

All COBOL was the first business-oriented language available, is 30+ years old, and is still being used for many business applications. offer opinions on why it is still being used. What are the common characteristics that almost all programming languages have in common. There are four. Identify them and explain for

Theory of Computation/Computer Science Problem

Consider the following three languages, all subsets of &#931;* where &#931;={a,b}: (1) L1 = {w l w is a word with odd number of a's} (2) L2 = {w l w is a word that ends with a b} (this question is asking for a word that ends with one b) (3) L3 = {w l w is a word with even length} From these: (a) Construct


Create an ASP page that uses both inline and <script> code.

Computer theory-automata

(See attached file for full problem description) --- Is the language L = { anb3nan n>0 } context free? If so, find a CFG grammar for it. If not, prove it. --- (See attached file for full problem description)

Writing a program to calculate GPA

Write a program to read a student's number, his or her old grade point average, and the old number of course credits (e.g., 31479, 3.25, 66) and to then print these with appropriate labels. Next, read the course credit and grade of four courses - for example, course1Credits = 5.0, course1Grade = 3.7, course2Credits = 3.0, course

Develop an assembly language program

I need help with completing the following specification for an assembly language program. This is a practice question. This is part of an overall assignment that I am stuck at. The program needs to check the current disk drive and report: ? The drive letter which would normally be assigned by DOS ? The amount of used spac