Rules to find the Big O Notation
Today we will discuss the finding Big O Notation value. There are certain rules which help us to find that value. We will discuss the rules with example. Look at the following rules:
- Keep the fastest growing term and discard the lower terms and constants value
- Ignore Coefficients
- If f(n) is constants, then we can say that f(n) is O(1)
- When we compute the value of O notation then base of logarithm is not important
Let Start Stack with Me
STACK : A Stack is an ordered List in which insertion and deletion are done at one end called TOP. In the simple terms we can say that the last element inserted is the first one to be deleted. That’s why, it is called the Last in First out (LIFO) or First in Last out (FILO).
Main Stack Operations:
1.) PUSH - Insert value in the Stack.
2.) POP - Removes and returns the last inserted value from the Stack.
Difference Between WebGet and WebInvoke
WebGet (Commonly used to retrieve data) V/S WebInvoke (Commonly used for data input/update)
JavaScript Function - Part 2
Functions in JavaScript
- Function Examples
- Use of anonymous functions
- Usage of Nested Functions to simulate a where clause in LINQ
JavaScript Basic Tutorial - Part 1
Language Basics
- JavaScript is case sensitive
- HTML is not case sensitive; onClick, ONCLICK, … are HTML
- Statements terminated by returns or semi-colons (;)
- Semi-colons can be a good idea, to reduce errors
- “Blocks”
- Group statements using { … }
- Not a separate scope, unlike other languages (see later slide)
- Variables
Define implicitly by its first use, which must be an assignment
Implicit definition has global scope, even if it occurs in nested scope?
Parallel Programming with C#
There is an important approach of coding "Parallel programming". Now a days many workstation have multiple cores (CPU). What will happen if we have multiple core station but our approach of coding is serial program? The output is our program will still use one thread of a single core at a time. So, when times have changed and processors have greatly evolved we also changed our programming model and then after introduce the new programming model called "Parallel Programming Model.".
Chutzpah JavaScript Test Runner
"Chutzpah is an open source JavaScript test runner which enables you to run unit tests using QUnit, Jasmine, Mocha, CoffeeScript and TypeScript."
Chutzpah works by running the JavaScript unit tests inside of a headless browser. A headless browser is a web browser control which runs in the background.
Comparison and Evolution History of C#
What is C#?
C# is pronounced as “See Sharp”. It is object oriented programming language developed by Microsoft which runs under .NET platform. Its syntax is similar to C++ or Java. It's most recent version C# 5.0 was released on August 15, 2012. It is widely used for developing web application, windows application, smart phone apps and games etc.
The advantageous features of C#:
-
C# offers cross language interoperability or mixed language programming (Java lacking).
-
C# directly supports windows operating system (Java lacking).
-
C# is component-oriented language integrated support for writing of software support.
-
C# support pointer as unsafe (Java lacking it).
Introduction of WCF Bindings
Hi friends after basic difference of WCF & ASP.Net WebAPI today we will move ahead to know the binding and their importance in WCF. When we talk about WCF, binding play the important role to select specific WCF service in our application. If we want to use WCF, should have to identify the all types of bindings in WCF. All bindings are designed to fulfil some specific need. Even we can defined own custom binding to achieve specific requirement.
All in-built bindings are defined in the System.ServiceModel Namespace. Today we will discuss all pre-defined bindings in WCF. There are 10 types of bindings available in WCF.
Basic Difference Between WCF Rest and ASP.Net WebAPI
Hi friends, today we all develop & use "Service Based Application". Now a days Rest Full Service are so popular. There are two famous technology used in .Net Framework to develop Rest Full Services.
1. ASP.Net Web API
2. WCF Rest
What is the ASP. NET Web API?