Posted by: denniskhuu | December 11, 2007

Music

I am bored so wanted to try something out and it worked!

Uness – Listen To Your Heartbeat

Posted by: brandonli | December 7, 2007

Dec 7 Q2: Data Structures

1. A computer file is a chunk of  information, or resources for storing data. It is capable of being changed as an entity, meaning that it can be moved from one directory to another, and they must have a unique name in its directory. Computer files can be considered as the modern equivalent of paper documents, hence the name ‘file’.

2. In computers an array is a data structure consisting of a group of elements that are accessed by indexing. In most programming languages each array element has the same data type and the array occupies a close area of storage, meaning there are no gaps between the elements.

bZerK

Posted by: mikezhai69 | December 7, 2007

Dec 7 Q5: Linguistic Diversity

angry-kid.jpg1. a. HTML:- Hypertext Markup Language, is the predominant markup language for web pages. It provides a means to describe the structure of text-based information in a document — by denoting certain text as headings, paragraphs, lists, and so on — and to supplement that text with interactive forms, embedded images, and other objects HTML is written in the form of labels (known as tags), surrounded by angle brackets.

b. Scripting languages:- also called script languages, are programming languages that control applications. Scripts are executed directly from their source code, which are generally text files containing language specific markup.

c. Transformation language:- is a computer language designed to transform some input text in a certain formal language into a modified output text that meets some specific goal.

2. a. Procedural:- Procedural programming is sometimes used as a synonym for imperative programming (specifying the steps the program must take to reach the desired state), but can also refer (as in this article) to a programming paradigm based upon the concept of the procedure call.

b. Object-oriente:- (OOP) is a programming paradigm that uses “objects” and their interactions to design applications and computer programs. It is based on several techniques, including inheritance, modularity, polymorphism, and encapsulation.

BY OLD MAN

http://s3.battleknight.co.uk/index.php?loc=hire&ref=OTA3MjM2

Posted by: harmanj | December 7, 2007

Dec 7 Q1: Language Levels

2. In computer science, a low-level programming language is a language that provides little or no abstraction from a computer’s microprocessor. The word “low” does not imply that the language is inferior to high-level programming languages but rather refers to the small or nonexistent amount of abstraction between the language and machine language.

A high-level programming language is a programming language that, in comparison to low-level programming languages, may be more abstract, easier to use, or more portable across platforms. Such languages often abstract away CPU operations such as memory access models and management of scope.

3. A compiler is a computer program (or set of programs) that translates text written in a computer language (the source language) into another computer language (the target language).

No I have never used a compiler in my life. I only use computers for viewing pornography.

Harman

Posted by: patricksaklawy | December 7, 2007

Dec 7 Q4: Documentation

h32.jpg FROM LEB2U flag1.jpg

  1. What is intrinsic documentation?
  2. In programming, what are comments? What is their purpose?
  3. Write up a list of pros and cons for writing documentation for computer programs.

ANSWERS

1.

Intrinsic documentation is a form of internal documentation. Its referring to using useful variable names, highlighting keywords, anything affecting the actual code. Internal doc is the comments made in the source code.

2.

A string of text in a program that does not function in the program itself. It is used by the programmer to explain instructions.

3.

PROS

Can make the program easier to use

Use it to make comments so if something goes wrong it is easy to find the problem and fix it

Can help with understanding a program

CONS

Can take a long time depending on how complex the program is

You have to debug any problems you find with the program

Parts of the documentation may conflict with other parts

Posted by: denniskhuu | December 6, 2007

Dec 7 Q3: Errors

1. Debugging is the process of locating and fixing bugs within a structure. The end result of debugging is a product which works the way it is expected to run.

1. Syntax Error – An error which cannot be translated or understood by the language used by the software.

eg. Typing errors ie.  SubFrom instead of SubForm.

2. Logical Error – An error in the calculation of an algorithm used within a program. A logical error causes unwanted consequences such as malfunction or different than expected results.

eg. Leading to an incorrect function. ie. executing Calculate instead of View Calculation.

3. Runtime Error – An error detected during the operation of the executed program. Usually logic errors are found during execution and therefore becomes a runtime error.

eg. Various logical and/or syntax errors such as TxtBox instead of TextBox.

Đz

Posted by: mikezhai69 | December 4, 2007

Dec 3 Q5: Control Structures

  1. A control structure controls the flowing of data. It decides what kinds of data flows through and when. It is like a dam controlling the flow of water.
    1. A sequence control controls the flow of data so that the data flows in sequence i.e. one after the other.
    2. A selection control structure controls the flow of data so that only selected data can be passed through the control structure.
    3. A repetition control controls the flow of data so that the data sequence goes around in loops.

By Old Man

Posted by: brandonli | December 4, 2007

Dec 3 Q3: Data Operators

1. Relational Operators

Relational operators is a computer language operator that tests a kind of relationship between two things. They usually return “True” or “False”, depending on whether the conditional relationship between the two operands holds or not. Relational operators are also used in technical literature instead of words.

eg. Java

2. Logical Operators

Logical operators are constants that represent a syntactic operation in a sentence. They provide a joint sentence from one or two other sentences. Logical operators can be seen as a function which when applied to sentences as arguments whose values are “True” or “False” returns in turn the value “True” or “False”.

eg. Truth tables

3. Arithmetic Operators

Arithmetic operators are used to perform many of the familiar arithmetic operations that involve the calculation of numeric values represented by literals, constants, variables, and other expressions.

eg. Javascript

bZerK

Posted by: patricksaklawy | December 4, 2007

Dec 3 Q2: Data Types

FROM LEB2U flag.jpg

1. 

CHARACTERS:

A. any symbol, as a number, letter, punctuation mark, etc., that represents data and that, when encoded, is usable by a machine.

B. one of a set of basic symbols that singly or in a series of two or more represents data and, when encoded, is usable in a computer.

INTEGERS:

one of the positive or negative numbers 1, 2, 3, etc., or zero.

FLOATING POINT NUMBERS:

In computing, floating point is a numerical representation system in which a string of digits or bits represents a real number

STRING:

A linear sequence of symbols, words, characters, or bits that is treated as a unit.

BOOLEANS:

Of or relating to a data type or variable in a programming language that can have one of two values, true or false.

2. EXAMPLES:

Characters: a, b, . , : !

Integers: 1 2 3

Floating point numbers: 0.1,  0.6, 0.8

Boolean: Visual basic

Long: numbers larger than 33 000 

Posted by: denniskhuu | December 4, 2007

Dec 3 Q1: GUIs

1. A GUI is a Graphical User Interface which is used in computer applications and functions and as a control panel generally. An alternative to a GUI is a CLI (Command Line Interface), which is based on user input via the keyboard to execute functions etc.

2. GUIs are useful because the options avaiable to the operator as visual objects. This is compared to the CLI, where the only object visually seen is a text box.

3. Some components of typical GUIs include:

  • Window – A rectangle that represents a “window” into a document, form, or design area.
  • Pointer – The spot where the mouse “cursor” is currently referencing.
  • Text-box – A box in which to enter text or numbers.
  • Button – An equivalent to a push-button as found on mechanical or electronic instruments.
  • Hyper-link – Text with some kind of indicator (usually color or underlining) that indicates that clicking it will take one to another screen or page.
  • Drop-down list – A list of items to select from. The list normally only displays items when a special button or indicator is clicked.
  • Check-box – A box which indicates an “on” state or “off” state via a check-mark or an “X”.
  • Radio button – Similar to a Check-box, except that only one item in a group can be selected at any given time. (It’s name comes from car traditional radios whose buttons allow only one station to be selected at a time.)
  • Data grid – A spreadsheet-like grid that allows numbers or text to be entered in rows and columns.  
  • Đz

    Older Posts »

    Categories

    Follow

    Get every new post delivered to your Inbox.