Explore BrainMass
Share

Explore BrainMass

    Programming Languages

    Need help with database

    As you were reviewing the different programming languages in the Cybrary and the Internet, you found some libraries with functions and procedures that you could use rather than write the code from scratch on your own. However, some of the code needs some modification to fit into your program. Nevertheless, you find 3 sets of cod

    Development of software

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

    Programming paradigm

    Discuss why the object oriented programming paradigm is considered a better choice than the structured programming paradigm. Does it reflect our "natural" way of thinking or do you find it artificial? (Please explain in detail)

    longest consecutively numbered string of bytes

    Find the address where the longest consecutively numbered string of bytes begins. Consecutive bytes are defined as those that differ by the number 01. For example, the bytes 39h, 3Ah, 3Bh, 3Ch, 3Dh, 3Eh, 3Fh, and 40h for a string of 7 consecutive bytes. Put the winning address in register DX, and the length of the string (in

    Convert Binary Number Registries

    Convert any binary number found in register AX to the equivalent ASCII code for each hexadecimal nibble in AX. Place the ASCII code for the hexadecimal number in AX starting at offset location 0000. Example: AX = 3030 ;ASCII for 00 [0800] = 41h after conversion (ASCII A) Note: Please write in assembly language progr

    Codes

    As you were reviewing the different programming languages on the Internet, you found some libraries with functions and procedures that you could use rather than write the code from scratch on your own. However, some of the code needs some modification to fit into your program. Nevertheless, you find 3 sets of code that you can r

    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 Problems

    Let x be an element of &#931;+ be a word. Show that for all such x, the language L=x* is regular. Give an example of x such that the language: L subscript 2/3 = {uw l there exists a y an element of L, y=uvw, l u l = l v l = l wl } is not regular. Prove your answer. (note: l l is equal to the length) Please see th

    Theory of Computation/Computer Science Problem

    Consider the following three languages, all subsets of Σ* where Σ={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 three DF

    ASP

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

    Deterministic PDA Built

    Please see attached and build deterministic PDA . Please example below and Build a deterministic PDA to accept the language aⁿb²ⁿ ( n = 1, 2, 3, ... } Example: Build a deterministic PDA to accept the language aⁿbⁿ+¹ ( n > 0 }

    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

    Discuss the concept of a component

    Discuss the concept of a component. What makes up a component? What are the advantages of components? In addition, what are the types of class data and how do you decide which is appropriate? Explain the difference between declaring a variable using the keyword Public, Friend, or Private.

    implicit dereferencing of pointers

    What disadvantages are there in implicit dereferencing of pointers, but only in certain contexts? For example, consider the implicit dereference of a pointer to a record in Ada when it is used to reference a record field.

    Statement with one arithmetic operator in some language

    I need a simple assignment statement with one arithmetic operator in some language you know. For each component of the statement, list the various bindings that are required to determine the semantics when the statement is executed. For each binding, indicate the binding time used for the language.

    Generic Programming Language is depicted.

    I am trying to write a grammar for the language consisting of strings that have n copies of the letter a followed by the same number of copies of the letter b, where n > 0. For example, the strings ab, aaaabbbb, and aaaaaaaabbbbbbbb are in the language but a, abb, ba, and aaabb are not. I need to see this worked.

    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

    The Message

    USE ANY COMPUTER LANGUAGE to write the message "this is page 1" on page one, the message "this is page 2" on page 2, and so on until the message "this is page 7" is written to page 7. Center the messages on the pages, in exactly the same place. Have the program then alternate the messages and determine if you can detect the fa

    Assembly Instructions

    Add together all of the 2-word numbers that are stored from address 60000h to 60FFFh in memory. Store the sum starting at location 61020h. Each 2-word number may range in size from 00000000h to FFFFFFFFh. Include a flowchart clearly describing your solution.

    ASCII (Amer Standard code for Info Interchange)

    Please explain the binary code. I am not understanding quite how to solve the problems below. Thanks. Provide an ASCII 'translation' in binary code of: a CIS319 b My name: Yvette For "CIS319" change selected "0" to "1" in the seven bit "0000000" ASCII layouts below to represent CIS 319: The val

    pros and cons of online collaboration

    Discuss the pros and cons of online collaboration. Is this a vaible method to use in todays workplace? Why/why not? Identify potential pitfalls in using emails / messagaing systems / chat rooms, etc...