Posts

Showing posts from March, 2014

Exam 98-361: Software Development Fundamentals

Image
Exam 98-361: Software Development Fundamentals Register for Exam 98-361 and view official preparation materials to get experience with software development fundamentals. http://www.microsoft.com/learning/en-us/exam-98-361.aspx Sent from Windows Mail

Windows Forms and Web Forms Recommendations

Windows Forms and Web Forms Recommendations http://msdn.microsoft.com/en-us/library/5t6z562c(v=vs.71).aspx Sent from Windows Mail

ASP.NET Web Application Template

ASP.NET Web Application Template http://msdn.microsoft.com/en-us/library/aa712191(v=vs.71).aspx Sent from Windows Mail

Walkthrough: Creating a Distributed Application

Walkthrough: Creating a Distributed Application http://msdn.microsoft.com/en-us/library/aa291461(v=vs.71).aspx Sent from Windows Mail

What's New in Windows Forms and Controls

What's New in Windows Forms and Controls http://msdn.microsoft.com/en-us/library/aa651811(v=vs.71).aspx Sent from Windows Mail

About GDI+ (Windows)

About GDI+ (Windows) http://msdn.microsoft.com/en-us/library/windows/desktop/ms533797(v=vs.85).aspx Sent from Windows Mail

House of Web Services: Accessing Raw SOAP Messages in ASP.NET Web Services

House of Web Services: Accessing Raw SOAP Messages in ASP.NET Web Services http://msdn.microsoft.com/en-us/magazine/cc188761.aspx Sent from Windows Mail
  http://www.w3schools.com/   http://php.net/manual/en/language.oop5.php
personal.psu.edu/users/s/l/sls576/ecba/ Case %20 Study %203-Schatz.pdf http://office.microsoft.com/en-us/excel-help/if-function-HP010069829.aspx http://php.net/manual/en/language.operators.comparison.php http://www.w3resource.com/java-tutorial/java-conditional-operators.php http://alvinalexander.com/java/edu/pj/pj010018 http://docs.oracle.com/javase/tutorial/java/nutsandbolts/op2.html http://php.net/manual/en/language.types.type-juggling.php http://php.net/manual/en/language.types.string.php http://msdn.microsoft.com/en-us/library/ms173105.aspx http://www.dotnetperls.com/cast

You have a great view of the Space Station soon

A great Space Station viewing opportunity in Tacoma, WA 98402, USA http://spacestationfinder.com/results.html?loc=Tacoma,+WA+98402,+USA via=@dshultz Sent from Windows Mail

Collections

http://msdn.microsoft.com/en-us/library/aa289148(VS.71).aspx http://www.andrewconnell.com/blog/archive/2004/02/17/262.aspx http://csharp.net-informations.com/string/csharp_string_tutorial.htm http://www.functionx.com/csharp/Lesson23.htm

Making Decisions

http://www.icsharpcode.net/TechNotes/SharpDevelopCodingStyle03.pdf http://csharp.net-tutorials.com/basics/if-statement/ http://msdn/microsoft.com/en-us/library/5011f09h.aspx http://msdn.microsoft.com/en-us/library/06tc147t

Loops

http://csharp.net-tutorials.com/basics/loops/ http://www.csharp-station.com/Tutorials/Lesson04.aspx http://www.homeandlearn.co.uk/csharp/csharp/csharp_s3p5.html http://www.dotnetperls.com/loop LIFO (Last In/First Out)

OpensourceChapter1

What tags are used to surround php code? <?php ?> What extension should a php file have? .php What does a page's encoding refer to? What impact does the encoding have on the page? A way to dictate what characters can be represented in a file. If you don't set the encoding in the options of your text editor or ide (alternatively this can be done when you save the file) you may see odd characters when you view your scripts and Web pages in a browser. What php functions or language constructs can you use to send data to the Web browser? The most common language constructs which are technically not functions that are for sending data to the Web browser are echo and print. How does using single versus double quotation marks differ in creating or printing settings? You cannot print variables with single quotation marks. Values enclosed within double quotation marks will be interpreted. What does it mean to escape a character in a string? Thes...
and now we can drag and drop into the "www" folder because we have permissions "sudo /etc/init/d/apache2 restart" is the command that we use to restart the apache server "sudo gedit /var/www/trythis.php" does something too "su root" "chmod -R 777 /var/www" "cd /var/www" "ls -l" "ls -s" the exit command will take you out of superuser as root exit the terminal http://ptgmedia.pearsoncmg.com/imprint_downloads/eachpit/peachpit/bookreg/0321784073/0321784073_Bonus_Appendix.pdf
    attain or acquire the virtualbox executable file and also the ubuntu archive of the optical disc image file you will also have to get the required updates for the virtual machine manager run the installer and configure the installation now that you have virtual box we need to make our hard disk image Installing LAMP On Ubuntu For Newbies In this guide I will show you how to install a LAMP system. LAMP stands for  L inux, A pache,  M ySQL,  P HP. The guide is intended to help those who have very little knowlegde of using Linux. Install Apache To start off we will install Apache. 1. Open up the Terminal ( Applications> Accessories > Terminal ). 2. Copy/Paste the following line of code into Terminal and then press enter: sudo apt-get install apache2 3. The Terminal will then ask you for your password, type it and then press enter. Testing Apache To make sure everything installed corr...

Introduction

Programming Computer is an electronic device used for storing and processing information. Most computers follow the basic principle of input, process, and output for any problem. To perform these input, process, and output activities, computers need a set of instructions called a program. This chapter introduces the input, process, and output requirements of a computer. It explains the role of programs and programming languages in passing instructions to a computer. In addition, it describes various tools for problem solving. Details Input, Process, and Output You might have noticed computers being used at airline reservation counters, shops, restaurants, and various other locations. At each of these places, a user enters some values in the computer and the computer generates an output, which is either displayed on the computer screen or printed on paper. Let us consider the example of an airline reservation counter. When you want to reserve a seat on a particular flight, you provide...

Programs and Programming Languages

Programming A computer needs a set of instructions called a program to perform the I-P-O cycle. A program needs to be written in a specific language called programming language, so that computer can understand the instructions. Let us discuss program and programming language in more detail. Details Programs How does a computer know the steps to be followed to process reservation requests? How does it manage to calculate your shopping bills at the local store? How does it generate your report card at school? Is it an all-knowing machine? Do you have to buy a different computer for each of these preceding activities? The answer to the last two questions is 'No'. It is not an all-knowing machine and you do not require a separate computer for each of these activities. Then, how does a computer function? A computer is designed to accept input, process it, and generate output. However, it has to be provided with a set of instructions that specify: The kind of input that will be pr...

Tools Used in Problem Solving

Programming As seen earlier, a program is a set of instructions to solve a particular problem. Before we actually start writing a program, we need to derive a procedure to solve the problem. The procedure to solve a problem can be represented by using the following tools: Algorithm, Flowchart, Pseudocode Details Tools Used in Problem Solving As seen earlier, a program is a set of instructions to solve a particular problem. Before we actually start writing a program, we need to derive a procedure to solve the problem. The procedure to solve a problem can be represented by using the following tools: Algorithm, Flowchart, Pseudocode Algorithm An algorithm is a sequence of steps required to solve a problem. It is a list of well-defined instructions to solve a problem. According to D.E. Knuth, a pioneer in the field of computer science, an algorithm has the following characteristics: An algorithm ends after a fixed number of steps. Each step in an algorithm clearly specifies the a...

Variables and Constants

Programming When a user enters a value, it is stored in a specific location within the memory of the computer. This memory location is given a user-friendly name, which is known as a variable or a constant Details When a user enters a value, it is stored in a specific location within the memory of the computer. This memory location is given a user-friendly name, which is known as a variable or a constant. A variable refers to the memory location that can store only one value at a time but can vary throughout the program execution. However, a constant refers to the memory location that holds a value, which remains fixed throughout the program execution. Consider an example of a program that accepts two numbers and displays the sum. This program needs three variables, two to store the numbers entered by the user and one to store the sum of the two numbers. Each of the variables would map to a specific memory address. For the given scenario, the following variables are declared: first_n...

Using Operators

Programming Programs are required to perform a lot more than just simple input and output operations. All computer languages provide tools for some predefined operations. These tools are known as operators. Details The operators are categorized in the following ways: Arithmetic operators: Are used for computation purposes. The symbols that represent arithmetic operations are called arithmetic operators. These include * , / , + , - , and %. Arithmetic operators, as the name suggests, are used to perform arithmetic calculations. An arithmetic expression is easy to calculate if there are few operands. However, if the number of operands increases, it is very difficult to evaluate properly. Therefore, large expressions are evaluated depending on the precedence of the operators being used. The operator having the highest precedence is evaluated first, followed by the rest in the descending order of their precedence. The precedence of the operators can be changed by using parenthesis, w...

Conditional Execution and Interations

Programming Most problems in real life may not be as simple as simple computation of numbers. Many problems require decisions to be made. Let us look at an example where two values have to be accepted from the user. The values have to be then compared and a result indicating whether they are equal or not has to be displayed. Details The if decision-making construct specifies a conditional expression that needs to be evaluated. A decision is made based on the result of the conditional expression. There are many types of the ifconstruct. The three main types of ifconstructs are: Simple ifconstruct if…elseconstruct Nested if…elseconstruct The switch…case Construct Another conditional construct available is, switch…caseconstruct. It is used when a variable needs to be compared with multiple values to make a decision. The switch…caseconstruct enables you to make a decision by selecting from a number of choices. This construct consists of one switchstatement, a number of casestatemen...

Introduction to the Object-Oriented Approach

Programming Object-Oriented Programming (OOP) is one of the popular methodologies in software development. It offers a powerful model for creating computer programs. It speeds the program development process, improves maintenance, and enhances reusability of programs. This chapter introduces the object-oriented methodology and discusses the concepts of objects, classes, messages, and methods. It provides an overview of the phases involved in object-oriented analysis and design. Details Object-Oriented Methodology Object-orientation is a software development methodology that relates to the real-world system. An object is the main concept involved in this methodology. An object is the representation of a real-world entity or concept. For example, an employee, a window, a car, or a bird can be represented as objects. You can think of an object-oriented model as a collection of objects and their relationship with each other. Objects An object literally means a 'material thing...

Introducing C#

Programming Computer languages have come a long way since the 1940s. During that period, scientists punched instructions into large, room-sized computer systems. These instructions were long series of zeroes and ones. These machine language instructions, executed directly by the CPU, are called the First Generation of computer languages. Details Computer languages have come a long way since the 1940s. During that period, scientists punched instructions into large, room-sized computer systems. These instructions were long series of zeroes and ones. These machine language instructions, executed directly by the CPU, are called the First Generation of computer languages. The 1950s saw the emergence of the Second Generation of computer languages –assembly language. Assembly language is easier to write than machine language but still extremely complicated for a common man. However, the computer could still understand only machine language. Therefore, the Assembler software was developed ...

Classes in C#

Programming C# classes are the primary building blocks of the language. C# also provides certain predefined set of classes and methods. These classes and methods provide various basic functionalities that you may want to implement in your application. Details C# classes are the primary building blocks of the language. C# also provides certain predefined set of classes and methods. These classes and methods provide various basic functionalities that you may want to implement in your application. For example, if you want to perform some input/output operations in your application, you can use predefined classes available in the System.IOnamespace. In addition to using the predefined classes, you can also define your own classes. Consider the following code snippet, which defines a class named Hello: public class Hello { public static void Main(string[] args) { System.Console.WriteLine("Hello, World!"); } } The preceding class declaration includes the method, Main...

Creating Objects

Programming An object is an instance of a class. You create objects to access member variables and member functions of a class. It also discusses how to write and execute C# programs. Details Declaring Variables Consider a situation where you have to create a program that accepts two numbers from a user and displays the sum of the numbers on the screen. Now, while reading the numbers provided by the user, you need to store these numbers somewhere in the memory so that you can perform the add operation on the numbers. You can store the numbers in the memory by using variables. Data Types in C# C# provides various built-in data types. Built-in data types are predefined data types that can be directly used in a program to declare variables. The following table lists some of the built-in data types in C#.Accepting and Storing Values in Member Variables To understand how to store value in a variable, consider the following code snippet:int Number; Number = Convert.ToInt32 (Console.R...

Operators

Programming Use various operators Details Using Operators Consider an example, where you need to develop a C# program for displaying the result and rank of the students in a class. To compute result and ranks, the application needs to perform some calculations and comparisons. You can use various operators in your C# program and use them to compute the results and ranks of the students. Operators like +(addition) and –(subtraction) are used to process variables and return a value. An operator is a set of one or more characters that is used for computations or comparisons. Operators can change one or more data values, called operands, into a new data value. Consider the following expression: X+Y The preceding expression uses two operands, xand y, and an operator, +, to add the values of both the variables. The following figure shows the operator and operands used in the preceding expression. You can use the following types of operators in your C# programs: Arithmetic operators A...

Programming Constructs

Programming Here we are going to see conditional statements and looping statements Details Using Conditional Constructs The ability to take decisions is fundamental to human beings. Decision-making can be incorporated into programs as well. This helps in determining the sequence in which a program will execute instructions. You can control the flow of a program by using conditional constructs. Conditional constructs allow you to execute selective statements based on the result of the expression being evaluated. The various conditional constructs that can be included in a C# program are: The if…else construct The switch…case construct The if statement in the if…elseconditional construct is followed by a logical expression where data is compared and a decision is made on the basis of the result of the comparison. The following statements depict the syntax for the if…elseconstruct: if (expression) { statements; } else { Statements; } The switch…case Construct A...

Features of JAVA

Programming 1.Internet programming language. 2.It is an object oriented programming language. 3.Most of language / syntax features are inherited from C & C++. 4.It is developed in SUN Micro Systems in the 1995. 5.The founder of SUN Micro Systems is James Gosling. 6.Vinod Khosla is the co-founder of SUN Micro Systems in INDIA. Details Features of JAVA 1.Simple 2.Secured 3.Robust 4.Platform Independent 5.Portable 6.Architecture Neutral 7.Multi-Threaded 8.GUI support 9.Distributed. If we know C & C++, learning java becomes very easy. By using java based browsers the unwanted malicious files and virus can be restricted from getting downloaded into our system. 1.Java is Strongly typed checked.2.Dynamic memory management. Memory allocations1.Static memory llocation.( Compile time ) 2.Dynamic memory allocation ( Run time ). Java applications can be developed on any platform / environment (OS). It means we develop java applications without any API dependency in windows/unix/linux....

Primitive Data Types

Programming The main type of data types in JAVA are Integer, Floating point, Character and Boolean Details Integer Java provides four different integer types to accommodate different size numbers. All the numeric types are signed, which means that they can hold positive or negative numbers. The integer types have the following ranges: byte range is –128 to +127. Number of bits = 8. short range is –32,768 to +32,767. Number of bits = 16. int range is –2,147,483,648 to +2,147,483,647. The most common integer type is int. Number of bits = 32. long range is –9,223,372,036,854,775,808 to +9,223,372,036,854,775,807. Number of bits = 64. Floating Point The floating-point types hold numbers with a fractional part and conform to the IEEE 754 standard. There are two types of floating points: float and double. double is so called because it provides double the precision of float. A float uses 32 bits to store data, whereas a double uses 64 bits. Character The char type...

Class and Object

Programming Java is an Object-Oriented Language. As a language that has the Object Oriented feature, Details Java is an Object-Oriented Language. As a language that has the Object Oriented feature, Java supports the following fundamental concepts: Polymorphism Inheritance Encapsulation Abstraction Classes Objects Instance Method Message Parsing • Object - Objects have states and behaviors. Example: A dog has states - color, name, breed as well as behaviors -wagging, barking, eating. An object is an instance of a class. • Class - A class can be defined as a template/blue print that describes the behaviors/states that object of its type support. Objects in Java: Let us now look deep into what are objects. If we consider the real-world we can find many objects around us, Cars, Dogs, Humans, etc. All these objects have a state and behavior. If we consider a dog, then its state is - name, breed, color, and the behavior is - barking, wagging, running If you compare the software ob...

Basic Operators

Programming Java provides a rich set of operators to manipulate variables. Details Java provides a rich set of operators to manipulate variables. We can divide all the Java operators into the following groups: • Arithmetic Operators • Relational Operators • Bitwise Operators • Logical Operators • Assignment Operators • Misc OperatorsThe Arithmetic Operators:Arithmetic operators are used in mathematical expressions in the same way that they are used in algebra. + Addition - Adds values on either side of the operator - Subtraction - Subtracts right hand operand from left hand operand * Multiplication - Multiplies values on either side of the operator / Division - Divides left hand operand by right hand operand % Modulus - Divides left hand operand by right hand operand and returns remainder ++ Increment - Increases the value of operand by 1 -- Decrement - Decreases the value of operand by 1 The Relational Operators: There are following relational operators supported by Java langua...

Decision Making

Programming If construct and Switch sonstruct Details There are two types of decision making statements in Java. They are: • if statements • switch statements The if Statement: An if statement consists of a Boolean expression followed by one or more statements. Syntax: The syntax of an if statement is: if(Boolean_expression) { //Statements will execute if the Boolean expression is true } If the Boolean expression evaluates to true then the block of code inside the if statement will be executed. If not the first set of code after the end of the if statement (after the closing curly brace) will be executed. The if...else Statement: An if statement can be followed by an optional else statement, which executes when the Boolean expression is false. Syntax: The syntax of an if...else is: if(Boolean_expression){ //Executes when the Boolean expression is true }else{ //Executes when the Boolean expression is false } The if...else if...else Statement: An if statement can be...

Iterations

Programming Java Loops - for, while and do...while Details There may be a situation when we need to execute a block of code several number of times, and is often referred to as a loop. Java has very flexible three looping mechanisms. You can use one of the following three loops: • while Loop • do...while Loop • for Loop As of Java 5, the enhanced for loop was introduced. This is mainly used for Arrays. The while Loop: A while loop is a control structure that allows you to repeat a task a certain number of times. Syntax: The syntax of a while loop is: while(Boolean_expression) { //Statements } When executing, if the boolean_expression result is true, then the actions inside the loop will be executed. This will continue as long as the expression result is true.Here, key point of the while loop is that the loop might not ever run. When the expression is tested and the result is false, the loop body will be skipped and the first statement after the while loop will be executed....

Iterations

Programming Java Loops - for, while and do...while Details There may be a situation when we need to execute a block of code several number of times, and is often referred to as a loop. Java has very flexible three looping mechanisms. You can use one of the following three loops: • while Loop • do...while Loop • for Loop As of Java 5, the enhanced for loop was introduced. This is mainly used for Arrays. The while Loop: A while loop is a control structure that allows you to repeat a task a certain number of times. Syntax: The syntax of a while loop is: while(Boolean_expression) { //Statements } When executing, if the boolean_expression result is true, then the actions inside the loop will be executed. This will continue as long as the expression result is true.Here, key point of the while loop is that the loop might not ever run. When the expression is tested and the result is false, the loop body will be skipped and the first statement after the while loop will be executed....