Posts

Showing posts from March, 2017

Differentiate between source and object program

Differentiate between source and object program Points : differentiate between source and object program Differentiate between Source and Object program Source Program Object Program 1. The main program or set of instruction in some high level language. The program which is being converted into machine code. 2. Before translation form. After transfer form. 3. Source program cannot be executed but interpreted or compiled into an object program. Object program can be linked and executed after translation by linker. 4. They can be edited or debugged easily. They can’t be edited or debugged easily. 5. They depends upon the language in which they are written i.e. CPP (C language); java (java language); Vbp (visual Basic) They depends upon the machine for which they are designed having. OBJ extension mostly. 6. The can be converted into object programs. The can be converted into executable program.

Bottom-up Programming and Differs from Top-down Programming

Bottom-up Programming and Differs from Top-down Programming Points : what is meant by bottom-up programming? how does it differs from top-down programming, advantages of bottom-up programming Bottom-up Programming Bottom-up programming is the opposite of top-down programming. It refers to a style of programming where an application is constructed starting with existing primitives of the programming language and construction gradually more and more complicated features, until all of the application has been written. Advantages of Bottom-up Programming Bottom-up programming has several advantages over top-down programming. Testing is simplified since no stubs are needed. While it might be necessary to write test functions, these are simpler to write than stubs and sometimes not necessary at all in particular if one uses an interactive programming environment such as common lisp or GDB. Pieces of command written in bottom up tend to be more general, and thus more reusable then piece