How to Fix Internal Errors 2501, 2502 or 2503 While Installing from .msi files in Windows

In Windows 8, you can see an error 2501, 2502 or 2503 when you try to install any application program or game from some .msi (Microsoft Installer) files. You can see the same error when you try uninstall some applications or games. The error message is like the one shown below:

How to solve or fix internal error 2501 2502 or 2503 appeared installing or uninstalling from an msi (.msi) (Microsoft Installer package) file MSI encountered unexpected error problem hot fix troubleshoot compatibility
Internal error 2502

Data Structures and Algorithms Previous Year Question Paper For BTech Computer Science and IT

Here i have uploaded the previous year (2014 MAY) question paper of DATA STRUCTURES AND ALGORITHMS (DS)  for Fourth semester for Computer Science and Engineering (CS or CSE) and Information Technology (IT) branches under MG university BTech course.

Course : B.Tech Engineering (degree)
University: MG university (Mahatma Gandhi university) Kottayam, Kerala
Department or branch: Computer Science and Engineering (CS or CSE) and Information Technology (IT)

Previous Year Question Paper of Design of Concrete Structures (DCS) for BTech Civil Engineering

Here i have uploaded the previous year (2014 November) question paper of Design of Concrete Structures-I (DCS) for Fifth semester for Civil Engineering (CE) branch under MG university BTech course.

Course : B.Tech Engineering (degree)
University: MG university (Mahatma Gandhi university) Kottayam, Kerala
Department or branch: Civil Engineering (CE)
Semester: Fifth Semester (5th or s5)
Subject: CE 010 503 – Design of Concrete Structures-I (DCS)

DBMS Previous Year Question Paper for Fifth Semester BTech Computer Science and IT

Here i have uploaded the previous year (2014 November) question paper of Database management systems (C S, IT) for Fifth semester for Computer science and engineering (CS or CSE) and information technology (IT) branches under MG university BTech course.

Course : B.Tech Engineering (degree)
University: MG university (Mahatma Gandhi university) Kottayam, Kerala
Department or branch: Computer science and engineering (CS or CSE) and Information Technology (IT)

Computer Programming Fifth semester previous year Question Paper for Civil

Free download  Computer Programming (CP) 2014 Previous Year Question Paper as pdf for B.Tech Civil engineering.

Course : BTech Engineering course (degree)
University: MG University (Mahatma Gandhi University)
Semester: Fifth Semester (5th) (s5)
Subject: CE 010 502- Computer programming (CP) (C programming)

Advanced Mechanics of Materials (AMM) 2012 Previous Year Question Paper

Free download pdf B.Tech Advanced Mechanics of Materials (AMM) 2012 Previous Year Question Paper (2012 December) for Production engineering and Mechanical engineering.

Course : BTech Engineering course (degree)
University: MG University (Mahatma Gandhi University)
Semester: Fifth Semester (5th) (s5)
Subject: PE 010 503/ME 010 503- Advanced Mechanics of Materials (PE, ME)
Department or Branch : Mechanical engineering (Mech (ME)) and Production Engineering (PE)

Common GSM Codes or USSD Codes and Their Use

These are some of the common GSM service commands (or service codes), also called USSD (Unstructured Supplementary Service Data) codes and their use.

Call Redirection


*#61# To check status of redirection of all incoming calls, if there is no answer.

##002# To Cancel redirection of all calls

Call Waiting or Holding

How to Launch an html file (web page) using Autorun

Here in this post we will see how to launch a .html  file automatically from a CD or DVD using Windows AutoRun feature. If you are new to Autorun, please read this post: What is AutoRun and AutoPlay ? How to Set it ?

If you want to know more about autorun commands, please read this post: How to Make a AutoRun CD or DVD Using Autorun.inf

The open command used in tte autorun.inf file cannot launch an html file (web page ) directly. Instead, we can open the webpage through some application.

How to Launch .msi Files using Autorun from CD

In this post, we will see how to autorun a .msi file from a CD. If you are new to Autorun, please read this post: What is AutoRun and AutoPlay ? How to Set it ?
If you want to know more about autorun commands, please read this post: How to Make a AutoRun CD or DVD Using Autorun.inf

The open command supports only executable files. So, if you want to launch an msi (miscrosoft installer) file from CD automatically when it is inserted to CD drive, use the following code in the Autorun.inf file.

Relational Algebra - Selection, Projection, Joins etc

The relational algebra defines a set of operations on relations, paralleling the usual algebraic operations such as addition, subtraction etc which operate on numbers.The relational algebra operations take one or two relations (tables) as input and return a relation as output. This post we discuss the following relational operations:
  1. Selection (σ)
  2. Projection (Ï€)
  3. Cartesian product
  4. Joins

Selection Operation (σ)

How to Make a AutoRun CD or DVD Using Autorun.inf

In this post we will see how to setup autorun on a CD or Pen drive using Autorun.inf file. If you are planning to create a CD with autorun (launch a file automatically on insertion of disc), this post will be helpful for you. If you are not much familiar with AutoRun, read the following post, to get an idea about autorun feature:  What is AutoRun or AutoPlay and How to Set it?

Now, we see how to make an autorun CD.

STLD Previous Year Question Paper 2013 for Third Semester Computer Science

Free download Previous year 2013 question paper for B.Tech degree examination of Switching Theory and Logic Design for third semester Computer science and engineering (CSE).

Subject : Switching Theory and Logic Design or STLD (3rd sem)
Course : BTech Engineering
Department: Computer Science and engineering (CS)
Semester: Third semester (s3)
University : MG university Kottayam kerala

MG University BTech Mechanical Engineering Third Semester Syllabus

The syllabus for Third semester BTech (B.Tech) Mechanical Engineering under MG University ( Mahatma Gandhi university Kottayam Kerala) is available for download in pdf format. To download it, click here

EDC Previous Year Question Paper 2013 for Third Semester Computer Science

Free download Previous year 2013 question paper for B.Tech degree examination of Electronic devices and circuits for third semester Computer science and engineering (CSE).

Subject : Electronic devices and circuits (3rd sem)
Course : BTech Engineering
Department: Computer Science and engineering (CS)
Semester: Third semester (s3)
University : MG university Kottayam kerala

Previous Year Question Paper for Principle of Management for B.Tech Courses

Free download Previous year 2014 question paper for B.Tech degree examination of Principle of management for the branches : Aeronautical Engineering, Computer science, Electrical and electronics engineering (AN, CS, EE) Fifth semester.

Subject : Principle of Management (5th sem)
Course : BTech Engineering
Department: Aeronautical Engineering, Computer Science and engineering (CS), Electrical and electronics engineering
Semester: Fifth semester (s5)
University : MG university Kottayam kerala

Computer Organisation Previous Year Question Paper 2013 for Third Semester Computer Science

Computer Organisation 2013 Previous year Question Paper for BTech third Semester Computer Science under MG university

Free Download pdf Computer Organization (CO) Previous years Questions Papers 2013 November s3 (third semester) B.Tech Computer Science exam.

Subject : Computer Organisation (3rd semester)
Course : BTech Engineering
Department: Computer Science
Semester: Third semester (s3)
University : MG university Kottayam kerala

Engineering Mathematics IV 2013 Previous Question Paper for BTech Fifth Semester under MG university

Engineering Mathematics IV 2013 Previous year Question Paper for BTech Fifth Semester under MG university

Subject : Engineering Mathematics IV (5th semester)
Course : BTech Engineering
Department: Mechanical, Civil, Electronics and communications, electrical, Aeronautical, polymer, Applied Electronics, Automobile Engineering etc. (Except for Computer Science and IT)
Semester: fifth semester (s5)
University : MG university Kottayam kerala

Fifth Semester BTech Computer Science and IT Mathematics Previous Year Question 2014

Previous year question paper 2014

Subject : Engineering Mathematics IV (EN010501 B)
Course : BTech Engineering
Department: Computer Science and Engineering and IT (Information Technology)
Semester: fifth semester (s5)
University : MG university Kottayam kerala

How to make tables using HTML code

In HTML (Hyper Text markup Language), <table> tag is used to create tables. Table is basically meant to represent data in tabular form. But people also use tables to design webpages, especially when they want to divide the web pages into some equal blocks. Now we will start with the basics of table tag. The table starts with a <table> tag and ends with the HTML tag </table>. Whatever comes in between <table> and </table> is either the data in the table or further HTML codes to design the table. These two tags help only to inform the starting and ending of the table.

How to Disable AutoRun or AutoPlay in Windows Operating Systems

Here i am writing about the methods to disable AutoRun feature in Microsoft Windows Operating Systems. To know more about AutoRun, See this post: What is AutoRun or AutoPlay and How to Set it?If you want to make an AutoRun CD or Pen Drive yourself, just visit this page: How to Make a AutoRun CD or DVD Using Autorun.inf. To disable Autotrun or Autoplay features, there are multiple methods. Methods may also be different for different versions of Windows operating system.

Disable AutoPlay on Windows 8 or 8.1

  • Open Start Menu
  • Goto PC Settings (gear icon).
  • got PC and Devices
  • Select AutoPlay
  • Click on the ON or Off Toggle button to turn it off.

What is AutoRun and AutoPlay ? How to Set it ?

AutoRun or AutoPlay is a feature of Microsoft Windows operating Systems which causes a certain file to be opened automatically when a Compact disc is inserted or a thumb drive is connected. Windows provide us some AutoPlay options to choose from. It can be chosen in the 'properties' of the CD Drive. You might have noticed that when we insert the CDs of Softwares or some movies some application will be launched automatically. In most cases, it may be one with a menu or a movie player. Such AutRuns are designed by the software vendors. Similarly, we can also design an autorun for a CD we burn or even for a pen drive.

How to Download Youtube Videos - Easiest Method

how to download youtube video videos using any browser safari mozilla firefox opera chrome internet explorer in any operating sytem including windows xp 7 8 8.1 Linux Mac and in any device including computer (pc or laptop), Java, android or symbian mobile devices of Nokia samsung or sony
Download Youtube videos on any browser any platform
In this post, we will see how to download any youtube video easily without using any software. This method can be used in computers and any mobile phones without installing any application software. You can apply this method in any internet browser. Actually this is an online youtube video downloader method. A website will give you direct download links to your youtube video in various formats and sizes.

Crack Master 2014 final round App

Takshak 2014 mar athanasius college 2015 2013 2016 MAC MACE of engineering Thakshak art fest sanskriti tech fest techfest technical computer science department coding cipher encoding encrypted decrypt decode breaking code programming algorithm cash prize money contest kerala MG university
Crack Master 2014 screenshot
Do codes and ciphers make your heart race? When faced with an encrypted message, are you filled with an insatiable curiosity to know just what it is all about? Do you consider yourself to be an unmatched code breaker? If your answer to any of the above questions is a yes, then you would enjoy playing crack master.

C Program Using 8086 Interrupts to Restrict Mouse Pointer Into a Circle of Given Center and Radius

C Program Using 8086 Interrupts to Restrict Mouse Pointer Into a Circle of Given Center and Radius. The mouse ponter will be restricted to a circle of user specified center and radius using the interrupt 33 of 8086 in c complier. I have tested this program in Turbo C compiler.
How to restrict mouse cursor or pointer within a user specified circle Using 8086 INT33 service interrupts arrow mice radius centre Turbo c program Turbo C++ code source code without thread screen rectangle
Mouse pointer restricted into a circle in Turbo C


#include<stdio.h>
#include<conio.h>
#include<dos.h>
#include<graphics.h>

How to Hard Reset Samsung Galaxy Note 2 (N7100)

Samsung Galaxy Note II N7100  note 2 hard reset touch android tab how to hard reset complete full total restore default factory settings root android Samsung smart touch phone video tutorial
Samsung Galaxy Note II N7100
This post is to show you how to hard reset Samsung Galaxy Note II. Samsung Galaxy Note 2 a.k.a N7100 can be easily hard reset  using a 3 button combination. You have to press and hold 3 buttons together for a while after switching off the phone. The steps are as follows:

  • Switch off the phone first. (If your phone is problem is not turning on, you can try only this method of reseting)
  • Wait for some seconds (~30s).
  • Now press and hold the following buttons together : Home button, power button and volume up button.
  • Keep these three buttons pressed together until you see the Samsung logo.
  • You will be led to the menu.
  • You can use volume up or down buttons to highlight an option and power button to select that option.

C Program to Display and Set System Time and Date Using 8086 Interrupts

This is a C Program to Display and Set System Time and Date Using 8086 Interrupts. Interrupt number 21 (in hexadecimal) is used to:
C program to get system time and date and also to set it using 8086 interrupt INT 21 interrupt 0x21 21h int86() function call interrupts in C program
Output of c Program to get and set system time and date 

  • Get System time
  • Set System time
  • Get System Date
  • Set System Date
To Get system date:
- Call interrupt 0x21 (hexadecimal) 
- AH (higher byte of accumulator) should be made equal to 2A (hex) before calling interrupt
Output:

C Program to Display SCAN and ASCII Codes of Keys on Keyboard Using 8086 Interrupt

output of C program source code to find scan code and ASCII code of any key pressed on keyboard asci ascii A 65 97 32 30 keyboard code using 8086 interrupt 16 0x16 16h INT16 int86 int86x
Output (ASCII and SCAN code) when a is pressed
This program displays SCAN code and ASCII code of any key pressed on the keyboard. We use inregs is made zero in the program. Then interrupt 16h is called using int86() function in dos.h. The arguments are interrupt number (in hexadecimal ; in C 0x16) pointer to input register and pointer to output register.

Algorithm, C and C++ Programs to find Closure From Functional Dependencies

In this post we will see how to find closure of an attribute or a set of attributes. Before learning how to get closure, we should first know what is a closure. Closure of a given set C is the set of attributes that are functionally determined by the set C under the set of functional dependencies F. There can be closure for any set. Every attribute in the set whose closure is to be found out, will be a member of its closure set C+ also. Consider an example:

Diagonalisation Principle as Proving Technique - Tutorial with Examples

Diagonalisation principle is a mathematical method of proof. It is included in Theory of computation as a proving technique. The following is a download link to a PDF tutorial of Diagonalization principle.

Click here to download tutuorial as PDF

Age of Empires 3 Cheat Codes and Tricks

It would be helpful sometimes to use some of the cheat codes while you play the game Age of Empires III from Ensemble studios. There are some tricks also which will help you to enjoy the game better. Here are the cheat codes and game tricks and hints for the Age of Empire 3 Game. You can use the same cheats for the Warchiefs and Asian dynasties extension packs of the game also.

Cheat codes

Code Effect
this is too hard Win in singleplayer
<censored> Gives 10,000 wood
Ya gotta make
do with what ya got
spawns the Mediocre
Bombard at your Home City gather point
Sooo Good Turn on “Musketeer’ed!” when you get killed by Musketeers
Speed always wins

Intel 8085 Microprocessor Simulator Software for Computer

In this post, I am adding links to some of the Intel 8085 Microprocessor kit Simulator software for your computer. They are available free of cost. There are 8085 simulator applications with Microprocessor textbooks like 8085 Microprocessor by Gaonkar. The following are 8085 simulator software for computer available for free download.

Java simulator with good features.
http://8085simulator.codeplex.com

GNU SIM 8085 simulator for Windows and Linux
http://gnusim8085.org

C and C++ Compiler For Android Smartphones

In this post i'm listing some C Program compilers for Android phones or tabs. It will be very handy if you have one in your phone if you are a programming student. You don't need to have a laptop or a Personal computer with you.

C4Droid


It is a powerful offline C/C++ IDE + C/C++ compiler for Android operating System. I have been using it for 1 year. You do not need to root your phone to use this app. Its features are as listed below:

Principle of Mathematical Induction - Tutorial with Example Problems

In this post, I am adding a study material for Principle of Mathematical induction. The principle of Mathematical induction is a proving technique widely used. Therefore, Mathematical induction also comes in various subjects like mathematics, physics and theory of computation (also in engineering courses). The same thing is taught in plus one (first year of higher secondary or senior seconadary (for CBSE)) maths. Here i am adding a pdf file with a tutorial for Principle of mathematical induction. You can download the PDF tutorial from following link:

Click here to download PDF tutorial.



Storage Classes for Variables in C Programming Language

Every variable in C programming language has two properties; type and storage class. 'Type' refers to the data type of the variable such as integer, character, floating point values etc. It also deals with the size of the variable ( in bytes). 'Storage class' determines the part of memory where storage is allocated for the variable and how long the storage allocation continues to exist. It also determines the scope which specifies the part of the program over which a variable name is visible, i.e. the variable is accessible by name. The scope restriction can be overrode by making use of pointers. Whatever, in short, storage class is the property that determines the part of memory where storage is allocated, the lifetime of variable and the scope of the variable.

There are for storage classes in C programming:

  • Automatic
  • Register
  • External
  • Static

Intel 8085 Microprocessor Simulator for Android Phones

Simulator application software for  8085 microprocessor intel for Android phone. samsung galaxy app download playstore full version .apk
8085 microprocessor
Intel 8085 is a basic microprocessor with 8 bit data bus. Since it is a basic microprocessor, it is included in the syllabus of many Engineering and Diploma courses. Assembly level programming for 8085 microprocessor is also part of many syllabi. The same microprocessor kit is also available in many colleges for practicals. So, it is inevitable to have an Intel 8085 simulator. There are some simulators available for PC. But they are not much abundant in Android apps. Here i am telling you about an 8085 simulator for your Android phone. You can find it by searching in playstore "Intel 8085 Simulator".

8085 Simulator in Playstore

Intel 8085 Microprocessor Instructions - Hex codes and Mnemonics

In this post, we will see the 8085 Microprocessor instructions and corresponding hex codes. This table is useful to hand assemble the  8085 program. In many universities, 8085 programming is included for practicals under computer science and engineering courses. Each mnemonic has its own hex codes. An assembler is a program which converts the code written in mnemonics into hexadecimal codes. The monitor program (part of microprocessor kit) translates the hex codes to corresponding actions to be performed by CPU.

Get 8085 Simulator (with assembler)  for computer


Get 8085 Simulator for Mobile



How to hard Reset Nokia E6 - 00

In this post, we will see how to hard reset Nokia E6-00, simply Nokia E6. Hard reset will erase all the
Nokia E6 00 how to hard reset Nokia phone using key combination star green dial button 3
Nokia E6 - 00
data on the phone memory. You should backup your contacts and other important data before doing it. You should have enough battery charge before you hard reset your phone. Now to hard reset the phone, you have three options. You can solve most of the software problems (if any) with the phone by just doing a hard reset. To hard reset your phone, there are three methods. I recommend the second method.

Method 1:

Hard Reset with Software Menu:

Go to Menu and navigate as follows:
Menu -> Settings -> Phone -> Phone management -> Factory settings -> Delete data and restore
Nokia E6 will ask for the security code. Enter it. The default security lock code is: 12345. If you have changed it, enter your security code.

How to Hard Reset Sony Xperia P

Sony Experia Xperia P Android smart phone hard reset how to reset total complete full restore default factory settings key combination service secret command code
Sony Xperia P
This post will tell you how to hard reset a Sony Xperia P Android Smart phone. Before you hard reset your phone, you should take a backup for whatever data you may need later, especially contacts. You may backup your contacts using 'export' option in options menu of 'contacts'. You may also use the 'PC companion' software provided by Sony to take backup. Another option is to use the backup service provided by Google server.



How to Hard Reset Nokia C5 -00

In this post, we will see how to hard reset Nokia C5 phones. Nokia C5 phones are Symbian s60 phones. Hard resetting Nokia C5 is so simple. You can solve most of the non hardware problems with the phone by just doing a hard reset. Hard reseting will erase all data on phone including Contacts, applications, notes etc. After hard reset the phone will be as if you have bought it as a new one. So, before you hard reset your phone, don't forget to backup your all important data including contacts.

How to hard reset Nokia C5 00 popular symbian smart phone high good specifications Key buttons combination three star dial green press and hold which
Hard reset Nokia C5 00
In the case of contacts, you may copy all the contacts into your SIM card. Or you may use the built in backup option available in phone which will backup contacts, applications, notes etc. You can see it in options somewhere in 'tools'->'Memory card'. You may also backup all your data using a Nokia PC suite or Ovi-suite.


To hard reset Nokia C5-00 and similar phones, follow given instructions:


  1. Switch off the phone first

How to Connect PC or Laptop to Internet Using Android Phone

The Android operating system supports usage of Android phones as an Internet modem for Personal computer or laptops. This facility of sharing the Internet connection of Android phone with a laptop or PC through a USB cable is called USB tethering. It supports most of major operating systems.

In Linux:


In Linux you just have to enable 'packet data' in phone first, connect phone with PC or laptop through USB data cable and check the option 'USB tethering' in Settings. It is somewhere within USB settings or Wifi and network settings. The place of this option may vary from phone to phone.In my phone (Ssmsung Galaxy S Advance, GT-I9070) , it is found as follows: Settings-> Wireless and Neetwork->Tethering and Portable Hotspot-> USB tethering. Check the option 'USB Tethering'. When 'USB tethering' is enabled, your Linux OS will automatically install the 'Remote NDIS based Internet sharing' driver. and your computer will automatically connect to internet within a few minutes.


Windows XP:


How to Hard Reset Samsung Galaxy Y or Young GT-S5360

This post is to tell you how to hard reset a Samsung Galaxy Young. Samsung Galaxy Young is an Android phone from Samsung with model number GT - S5360 which is often referred to as Galaxy Y. Before you hard reset, you should take a backup of all your important data that may be required later. You may get some help from Youtube videos demonstrating backup process.

How to Backup Samsung Galaxy Phones to Google account

How to Backup Android How to backup contacts in Samsung Galaxy Android phone

Samsung Galaxy Y GT-S5360 Android phone hard reset Young complete total full restore default factory settings GT S 5360 touch jellybean ginger bread ice cream sandwich
Samsung Galaxy Y ( Young ) GT S5360

For taking .apk backups for your applications in the phone you may use applications like 'Clean Master'. Data in your memory card and contacts in SIM card will not be lost during hard reset. All the settings will be reset to the default values because the whole operating system of the phone is refreshed. You can try the following method of hard reset even if your phone is not turning ON.

After taking backup, follow the given steps:

How to Connect Windows 8 or 8.1 Compuer to Internet by USB Tethering Android Phone

Let me tell you first that USB tethering is the process of sharing the internet connection of your Android phone with your PC or laptop through USB connection. In Windows 7, Windows Vista and Linux, USB tethering works so easily that we just have to enable packet data, connect phone through USB and enable 'USB tethering' in Settings. Above mentioned operating systems automatically install the required drivers. And within few minutes, the system will connect to Internet through your USB connected Android phone. But it is not that much easy in Windows 8 or Windows 8.1. We have to manually install the driver for the Android device to enable USB tethering. In this post, I will show you how to enable USB tethering in Windows 8 and Windows 8.1.

Android Phone Secret Codes

Samsung galaxy sony xperia htc Android secret codes enter dial factory hard reset format service test mode debug diagnosis check up wifi GPRS GPS sensor test bluetooth MAC address ip address LCD display touch screen test
Dialing the code
Here in this post, I am listing down some secret codes for Android phones.

*#*#4636#*#*   :Phone info (packet data), batttery info,usage statistics,wifi info
*#*#7780#*#*  :Factory reset
*2767*3855#   :Format Phone
*#*#197328640#*#*  :Service mode (version info,Factory test,and many debugs)

Sony Xperia Secret Menu for Service Test and Hard Reset

In Xperia series phones of Sony, there is a secret menu which has options for Service test and Hard reset of the phone. This menu is available almost all Xperia phones including Xperia Z, Xperia J, Xperia P, Xperia U, Xperia ION, Xperia S,Xperia E, Xperia L, Xperia tipo, Xperia arc, Xperia zola The menu can be made available by dialing a secret code in the dial-pad of the phone.

Sony Xperia Secret Menu for Service Test and Hard Reset LCD touch screen test diagnosis debug checkup check up information repair menu GPS, GPRS 3G mobile phone Android Samsung galaxy
Dial pad of Sony Xperia P
The code is *#*#7378423#*#*. When you dial this code in the dialpad, the secret menu will appear which contains options:


  1. Service Info
  2. Service Settings
  3. Service Tests
  4. Customisation Settings

How to Display Mathematical Symblos, Greek Letters etc in HTML

When i was writing a post, i found it difficult to display some mathematical symbols in the post. At last, i solved it and found that there are easy to remember mnemonics for most of the symbols we come across. Sometimes you can get them only from the 'charmap' (enter charmap in 'Run' in your windows OS). There are escape sequences in HTML which will help you to include mathematical symbols and other Greek letters which are often used as variables or notation for some processes. To display these symbols in a webpage, simple mnemonics or corresponding code can be used. These informations are directly available in HTML4.0 website.


C and C++ Programs to Reverse a Number

This post includes a C program and a C++ program to reverse a given number. That is, to reverse the order of digits. If 543 is entered, it will be displayed as 345.

C Program:

#include<stdio.h>
main()
{

Conditional Operator in C and C++

Conditional Operator is an operator which is substitutive for if-else statements. It is a ternary operator (operator which operates on 3 operands). It is often called ?: operator. The operands are expression1, expression2 and expression3. The syntax is as follows:

expression1 ? expression2 : expression3

The expression expression1  will be evaluated always. Execution of expression2 and expression3 depends on the outcome of expression1. expression1 is checked whether true or not. It is considered like a boolean variable. The outcome of an expression is true if it has a non zero value. If its value is zero, the outcome of expression is false. If the expression1 is true, then expression2 is evaluated. If the expression1 is false, then expression3 is evaluated. Consider the following example:

Mathematics Capsule for Engineering Entrance Exams in India

In this post, i am adding a mathematics capsule for entrance exams for engineering in India. This capsule is based on Higher secondary syllabus and contains Formulae, shortcut equations, tips and tricks that may be helpful for solving objective questions from mathematics.
I hope this pdf will be helpful for those students who are preparing for competitive entrance exams like KEAM, AIEEE, IIT JEE etc.
Click the following link to download the capsule as pdf.
Download

Ebay Promo Codes or E-coupons

This post contains insta Coupons for online purchasing from ebay.in. They are also called e-coupons, promo codes,.discount coupons etc. I am listing each.

EBAY3WATCH to get Rs. 1000 off on premium watches.

To get 7% off:

JPDXN8PEFI
4BQE54TNRW
RIJQVJHEJF
BAVCVXVZWW
HVFKSSU1HL
QF5NDOHMNK
COHBMJ2HM4

When you proceed to buy any product from Ebay.in you can see a field to enter a code like this. Enter any of above code there to get discounts as mentioned above.

Binary Tree And Prefix & Postfix Notations Of Arithmetic Expressions

We can construct meaningful derivation trees that enable us to represent arithmetic expressions in infix, prefix and postfix forms. A binary tree is enough to represent all these three notations of arithmetic expressions. Both prefix and postfix notations are unintelligable for humans. But they are of great use in computer science. Compilers often convert infix to prefix notation and then to assembler code. From a derivation tree of an algebraic expression, we can get equivalent prefix and postfix notations. An algebraic expression in terms of operators and operands can be derived by an ambiguous context-free grammar. Prefix notation is the parenthesis-free notational scheme invented by Polish logician Jan Lukasiewicz and is often called polish notation. In prefix notation operators are followed by operands.

For example, in prefix notation A + B is written as +AB. Postfix notation is reverse of prefix notation. AB+ is  the equivalent postfix notation of A + B. The infix form is evaluated and the binary tree is created according to the priority of the operators. Let us start from the simplest examples.

Fourier Series Textbook

A textbook for chapter ( Module ) Fourier series. Fourier Series  is included in Mathematics Syllabus for Bachelor Degrees including BTech (Engineering) in most universities. Download pdf BTech maths text for MG University on Fourier series
Download here

Linear Search in C and C++ Languages

Linear search simply means 'looking for an element in the whole array from one end to the other'. The searched element is compared with the first element of array first, then with the second, then with the third, so on upto the end of the array. This is time consuming when the array is pretty enough. The time complexity is highest.The C and C++ programs for linear search is given below.

C Program:

#include<stdio.h>

void main()
{

C and C++ Programs to Check Whether a Number is Strong Number or Not

This post contains C and C++ program to check whether a given number is Strong number or not. A strong number is a number for which the sum of factorials of its digits is equal to the number itself. The first one is C program to check whether the input number is a strong number or not. An example is 145. 1!+4!+5!=1+24+120=145 Therefore 145 is a strong number.

C Program:

#include<stdio.h>
long int factorial(int n)

{

Syllabus for First Year Btech under MG University (combined Ist & IInd Sem) (Common for all branches)

EN010 101 ENGINEERING MATHEMATICS – I

Credits: 5
Teaching Scheme
2 hour lecture and 1 hour tutorial per week

MODULE I (18 hours) - MATRIX
Elementary transformation – echelon form – rank using elementary transformation by reducing in to echelon
form – solution of linear homogeneous and non – homogeneous equations using elementary transformation.
Linear dependence and independence of vectors – eigen values and eigen vectors – properties of eigen values
and eigen vectors(proof not expected) – Linear transformation – Orthogonal transformation –
Diagonalisation – Reduction of quadratic form into sum of squares using orthogonal transformation – Rank,
index, signature of quadratic form – nature of quadratic form

BTech Computer Science and Engineering Third Semester Syllabus for MG University

The syllabus for Third semester BTech Computer Science and Engineering under MG (Mahatma Gandhi) University is given below. You can also download the syllabus.
Click here to download as pdf


EN010301B ENGINEERING MATHEMATICS II (CS, IT)

Credits 4


MODULE 1 Mathematical logic (12 hours)

Basic concept of statement, logical connectives, Tautology and logical equivalence - Laws of algebra of propositions - equivalence formulas- Tautological implications (proof not expected for the above laws, formulas and implications). Theory of inference for statements — Predicate calculus - quantifiers - valid formulas and equivalences -free and bound variables - inference theory of predicate calculus

BTech Computer Science and Engineering Fourth Semester Syllabus - MG University

This post contains the syllabus for Fourth semester BTech Computer Science and Engineering from Mahatma Gandhi University (MG University), Kottayam. Click here to download pdf

EN 010 401 ENGINEERING MATHEMATICS III (Common to all branches)

Teaching scheme Credits: 4
2 hours lecture and 2 hour tutorial per week



MODULE 1 FOURIER SERIES (12 hours)

Dirichlet conditions - Fourier series with period 2Ï€ and 2l - Half range sine and cosine series - Harmonic Analysis - r.m.s Value

BTech Civil Engineering Third Semester Syllabus for MG University Students

You can download the syllabus for third semester civil engineering under MG (Mahatma Gandhi) university, Kerala. Click here to Download as pdf.


EN010301A ENGINEERING MATHEMATICS II

(common to all branches except CS & IT)
credits:4
[Teaching Scheme: 2 hours lecture and 2 hours tutorial per week]

MODULE 1: Vector differential calculus ( 12 hours)

Scalar and vector fields-gradient -physical meaning-directional derivative-divergence and curl-physical meaning-scalar potential conservative field-identities-simple problems.

How To Make a Text Subscript or Superscript Using HTML Code

To make a text superscript or subscript in a webpage using HTML language, there are two tags provided in the language.

Superscript

To make a text or some characters superscript, the HTML tag <sup> is used. For example, suppose we have to display 2n+1. To display it, we have to use the following code:

2<sup>n+1</sup>

We have to enclose the characters to be made superscript in <sup> and </sup>

Binary to Gray Code Converter

This post is to teach you how to convert binary number to corresponding Gray code. The conversion is so simple. You can see it..

If an n bit binary number is represented by Bn Bn-1 ...B1 and its Gray code equivalent by Gn Gn-1...G1 where Bn and Gn are the most significant bits (MSBs), then the Gray code bits are obtained from the binary code as follows. The symbol ⊕ stands for the Exclusive OR (XOR) operation explained below.

The conversion procedure is as follows:

String Comparison in C and C++ Languages and Working of strcmp function

In both C and C++ programming languages, an inbuilt function strcmp() is used to compare two strings. This function is defined in string.h header file. So, to use this function, you have to include the header file string.h in the program. Most of the people ( i mean beginners) have a wrong idea about the working of the this function. I also had made some false assumptions. This function takes two strings as arguments. And it compares the two strings using the ASCII equivalent of each character. Some of the false ideas about this function are:
  • The function returns 1 when the strings are equal and 0 when they are not equal
  • The function returns 1 when they are not equal
  • The function returns 1 when the first string is greater than the second and returns -1 when the first one is less than the second one

Half Adder and Full Adder : Logic Design Lab Experiments

Aim:
1. To design and set up a half adder using

  • (a) XOR gates and NAND gates
  • (b) NAND gates only

2. To clesign and set up a full adder using

  • (a) XOR gates and NAND gates
  • (b) NAND gates only

TTL IC PinOuts

I am adding TTL (Transistor -  Transistor Logic) IC PinOut diagrams for the ICs 7400, 7402, 7404, 7408, 7410, 7411, 7414, 7420, 7421, 7432, 7442, 7446, 7447, 7473, 7474, 7476, 7483, 7485, 7486, 7490, 7492, 7493, 7495, 74121, 74123, 74138, 74139, 74150, 74151, 74153, 74154, 74155, 74157, 74160, 74162, 74161, 74163, 74190, 74191, 74192, 74193, 74194, 74195, 7488 and 7489. This may be useful for electronics lab for engineering or poly diploma courses. I am adding it as photos here. To download it as pdf, click here.