Follow me on Linkedin

CHAPTER – 1 – LAPLACE TRANSFORM.

CHAPTER – 1 – LAPLACE TRANSFORM.



2 Marks :

(5 two marks will be asked from this model) 
1 .Define Laplace Transform .

2.  State the condition for the existence of Laplace Transform.

3.  Define the Laplace transform of Unit step Function.

4.  Define the Laplace transform of Unit Impulse Function.

5.  State Linear Property of Laplace Transform. *

6.  State First Shifting Property of Laplace Transform. *

7.  State Second Shifting Property of Laplace Transform. *

8.  State Convolution theorem of Laplace Transform.

9.  State Initial & Final value theorem of Laplace Transform. *

10.  Define Laplace transform of derivatives. *

11.  Define the Laplace transform of Integration. *

12.  Two Marks Problem Using * (above star ‘ ed ) theorem & Property.

13.   Simple Problem Using Laplace Transform & Inverse Laplace Transform.

14.  Find the Laplace transforms of

(a)  sin 2t sin 3t

(b)  cos2 2t
(c) sin3 2t

(d)  e−3t2 cos 5t − 3 sin 5t
(e)  e3t sin2 t

(f) t cos at
(g)  t2 sin at
(h)  1−et

t

(i)  t3e−3t

(j)  te−t sin 3t
(k) sin kt − kt cos kt
(l)  sin at

t


(m) sin2 t

15.  Write a function for which Laplace transformation does not exist. Explain why Laplace transform does not exist.
16.  If L(f(t)) = F(s) what is L(e-atf(t))?
17.  Find the Laplace transform of e-2t (1+t)2.
18.  Find the Laplace transform of te-t sint.
19.  Find L(tsin2t).
20.  Obtain the Laplace transform of sin2t-2tcos2t in the simplified form.
21.  Verify the initial value theorem for f(t) = 5 + 4cos2t.
22.Find the Laplace transform of t coshat.

23.Find the Laplace Transform of unit step function at t=a. 24.Does the Laplace transform of Cos a t/ t exist? Justify.
25.Find L-1 {( cot-1 (s) }


15 marks :

(You can Omit Atmost one Part Mentioned Below) 
PART 1 – FIND THE LAPLACE TRANSFORM. 
PART 2 – FIND THE LAPLACE INVERSE.

PART 3 – LAPLACE TRANSFORM OF PERIODIC FUNCTIONS.

PART 4- LAPLACE INVERSE USING CONVOLUTION THEOREM.

PART 5 – APPLICATION TYPE ( LAPLACE TRANSFORM OF DIFFERENTIATION & INTEGRATION i.e SOLVE TYPE SUM)



Tags :  Sastra University Mathematics Question Bank , Sastra University Mathematics 3 Question Bank , Sastra University Mathematics Question Paper , Sastra University Mathematics 3 Question Paper , Sastra University Maths Question Bank , Sastra University Maths 3 Question Bank , Sastra University Maths Question Paper , Sastra University Maths 3 Question Paper , Sastra  Maths Question Bank , Sastra  Maths 3 Question Bank , Sastra  Maths Question Paper , Sastra  Maths 3 Question Paper , Maths 2 marks material , m3 2 marks material , sastra question paper , sastra university question paper , sastra study material , sastra maths study material , sastra  m 4 study material , Anna University Mathematics Question Bank , Anna University Mathematics 3 Question Bank , Anna University Mathematics Question Paper , Anna University Mathematics 3 Question Paper , Anna University Maths Question Bank , Anna University Maths 3 Question Bank , Anna University Maths Question Paper , Anna University Maths 3 Question Paper , Sastra  Maths Question Bank , Sastra  Maths 3 Question Bank , Sastra  Maths Question Paper , Sastra  Maths 3 Question Paper , Maths 2 marks material , m3 2 marks material , sastra question paper , Anna University question paper , sastra study material , sastra maths study material , sastra  m 4 study material 

Digital Electronics | Semester Question Paper - Nov 2012

                SASTRA UNIVERSITY

Year : Nov 2012                                                    Semester : Third Semester
Subject : Digital Electronics                                          Time : 3 Hrs.


                          Part-A

Answer all the questions [20*2=40 Marks]

1. State DeMorgans theorems.
2. Using the distributive property,prove that A+BC=(A+B)(A+C)
3. What are dont care combinations?
4. Realize AND function using only the NOR gates.
5. Give the basic circuit of a DTL NAND gate.
6. Draw the logic diagram of an equality comparator.
7. What is a binary decoder?
8. Explain EEPROM.
9. What is Flash Memory?
10.Explain GAL.
11.State the necessary rules in drawing the ASM charts.
12.Draw the state diagram for sequence detector.
13.Give the state diagram for the Mealy sequential network.
14.Draw the Mealy model of a clocked synchronous sequential network.
15.What are ASM charts? Give their basic components.
16.Draw the symbols of state and decision boxes.
17.Give the diagram of a 4-bit synchronous binary counter.
18.Illustrate the SIPO unidirectional shift register.
19.Draw the logic diagram of SR latch.
20.Give the general structure of PLDs.

             
                 Part-B

Answer all the questions [4*15=60 Marks]

21.Reduce using mapping the expression m(0,1,2,3,5,7,8,9,10,12,13)and implement the same in universal logic.
(OR)
22.(a) Explain CMOS logic gates. [3]
(b) With necessary diagrams diagrams describe the working of CMOS inverter and CMOS NAND gates[12]

23. (a) What is a priority encoder? [2]
(b) Giving the truth table of a 4-bit priority encoder use K-map simplification and draw the logic diagram. [13]
(OR)
24. (a) Give the classification of memories. [3]
(b) Explain the architecture of FPGA. [6]
(c) Draw the circuit of a module with 3 interconnected 2 to 1 multiplexers and an OR gate.
25. (a) What are ASM charts? [3]
(b) Construct an ASM chart for a synchronous sequential network to recognize the input sequence of pairs x1x2=01,01,11,00. [12]
(OR)
26. Give the design of a 3-bitup/down synchronous counter and describe its function in detail.
27. Realize Trigger Flip-flop using S-R Flip-flop.
(OR)
28. (a) What is a register? [2]
(b) Bring out the difference between a register and a counter. [3]
(c) Draw the logic diagram of the 74194 4-bit universal sift register and explain its function.[10]


Tags : Sastra University Digital Electronics question Papers , Sastra University Digital Electronics previous year question Papers , Sastra University Digital Electronics old question Papers , Sastra University Digital Electronics  question Papers , Sastra University Digital Electronics  previous year question Papers , Sastra University Digital Electronics  old question Papers , Sastra  Digital Electronics question Papers , Sastra  Digital Electronics previous year question Papers , Sastra  Digital Electronics old question Papers , Sastra  Digital Electronics  question Papers , Sastra  Digital Electronics  previous year question Papers , Sastra  Digital Electronics  old question Papers , Anna University Digital Electronics question Papers , Anna University Digital Electronics previous year question Papers , Anna University Digital Electronics old question Papers , Anna University Digital Electronics  question Papers , Anna University Digital Electronics  previous year question Papers , Anna University Digital Electronics  old question Papers


Data Structure | Semester Question Paper - Nov 2012

                         
                                  SASTRA UNIVERSITY

Year : Nov 2012                                                    Semester : Third Semester
Subject : Data Structure                                          Time : 3 Hrs.

                         
                      PART-A

Answer all the questions.

1.What are the three programming constructs available?
2.What is a data structure?
3.Write the algorithm recursiveFactorial(n).
4.Write the Euclidean algorithm for GCD.
5.Write the algorithm InsertNode(list,pPre,dataIN).
6.Write the algorithm pushStacktop(stack,data).
7.Write the C code for stacktop.
8.Write the algorithm createQueue for creating a queue.
9.Write the algorithm dequeue(queue,item).
10.What is a sparse matrix?
11.What is the use of tree datastructure?
12.Write the algorithm postorder(root).
13.Draw the expression tree for a*(b+c)+d.
14.Write the algorithm FindLargestBST(root).
15.What is AVL tree?
16.State the properties of heap.
17.State the address of leftchild and rightchild in a heap.
18.What is an Eulerian walk?
19.What is an adjacency matrix?
20.What are the constraints for the solution of mincost spanning trees?


                         PART-B

Answers all the questions.

21.Describe the Abstract Data Type(ADT) model and ADT implementations.
(OR)
22.Write the C code for solving towers of Hanoi.

23.Write the algorithm (infix to postfix) inToPostFix(formula) and explain.
(OR)
24.Write the algorithms insertDbl(list,dataIn) and deleteDbl(list,deleteNode) of the doubly linked list.

25.Explain the insertion into and deletion of a General Tree.
(OR)
26.Write algorithms SearchBST,addBST(searching a Binary Search Tree and insert into a BST) and explain with example.

27.Write the C code for Priority queue implementation.
(OR)
28.Write the Kruskals algorithm and explain with example


Tags : Sastra University Data Structure question Papers , Sastra University Data Structure previous year question Papers , Sastra University Data Structure old question Papers , Sastra University Data Structure  question Papers , Sastra University Data Structure  previous year question Papers , Sastra University Data Structure  old question Papers , Sastra  Data Structure question Papers , Sastra  Data Structure previous year question Papers , Sastra  Data Structure old question Papers , Sastra  Data Structure  question Papers , Sastra  Data Structure  previous year question Papers , Sastra  Data Structure  old question Papers , Anna University Data Structure question Papers , Anna University Data Structure previous year question Papers , Anna University Data Structure old question Papers , Anna University Data Structure  question Papers , Anna University Data Structure  previous year question Papers , Anna University Data Structure  old question Papers

Linux Programming | Semester Question Paper - Nov 2012

                                             
                         SASTRA UNIVERSITY

Year : Nov 2012                                                     Semester : Third Semester
Subject : Linux Programming                                   Time : 3 Hrs.


                      Part-A

Answer all the questions [20*2=40 Marks]

1. List the various types of variable used in Linux.
2. How to check, if number 1 is numerically greater than or equal to number 2 using [] operator?
3. What is the purpose of using \t,\s in regular expression syntax elements?
4. What is the use of C-x k key combinations in Emacs editor?
5. What is use of character class in regular expression? Give example.
6. What is file mode?
7. List the two ways of opening files that have associated with file names.
8. How to change a files access permission modifiers? Write its syntax.
9. What is pages and page aligned?
10.List two methods of locking files.
11.What is meant by signal mask?
12.Which method is suitable to find which signals are currently pending? Write its syntax.
13.Draw a clear sketch for establishing socket connections.
14.What is network byte order?
15.What is Domain Name system?
16.List the two databases that describe terminals in terms of capabilities.
17.What is the use of SLmg_init_smg()?
18.What is the use of file descriptor in database?
19.Why we syncing the database in Linux?
20.List the three types of databases provided by db.



                     Part-B

Answer all the questions [4*15=60 Marks]


21.Write a shell script to find all the prime numbers between 1 and 1000 using function.

(OR)

22.Discuss the following in detail:

(a)egrep with example [7]

(b)sed with example [8]


23.Discuss the following in detail

(a)File access permissions [5]

(b)Removing and renaming files [10]

(OR)

24.Write detailed notes on Non-blocking I/O with simple example.


25.Discuss the following:

(a)Finding the set of pending signals. [4]

(b)Waiting for signals [6]

(c)Sending signals. [5]

(OR)

26.Explain in detail about the basic socket operations.


27.Explain in detail the concepts of terminal input handling.

(OR)

28.Write detailed notes on basic operations of database.





Tags : Sastra University Linux question Papers , Sastra University Linux previous year question Papers , Sastra University Linux old question Papers , Sastra University Linux Programming question Papers , Sastra University Linux Programming previous year question Papers , Sastra University Linux Programming old question Papers , Sastra Linux question Papers , Sastra Linux previous year question Papers , Sastra Linux old question Papers , Sastra Linux Programming question Papers , Sastra Linux Programming previous year question Papers , Sastra Linux Programming old question Papers , Anna University Linux question Papers , Anna University Linux previous year question Papers , Anna University Linux old question Papers , Anna University Linux Programming question Papers , Anna University Linux Programming previous year question Papers , Anna University Linux Programming old question Papers

Theory of Computing | Semester Question Paper - Nov 2012

                                       SASTRA UNIVERSITY
                                
Year : Nov 2012                                                    Semester : Third Semester     
Subject : Theory of Computing                                Time : 3 Hrs.

                         Part-A
Answer all the questions [20*2=40 Marks]
1. Define and give an example of a transition function.
2. Sketch an FSA M with two states and work out the language generated by M.
3. Write down the production rules to generate binary palindromes.
4. True or False: Every finite language is regular. Why?
5. If L is regular and M is a subset of L, is M regular? Give reasons.
6. Define the notion epsilon-production. How is it used?
7. Distinguish between determinism and non-determinism in the class of context-free languages.
8. Sketch an FSA generating the language L={0^2,0^5,0^7,0^11,.......}.
9. What is minimization of a FSA?
10.Explain left-most derivation.
11.Define and give an example for the concept of a syntax tree.
12.Give an example of a homomorphism and inverse homomorphism.
13.What is meant by "Inherent ambiguity"?
14.True or False: Every context free language is regular. Give reasons.
15. Explain LL(k).
16.Explain the idea of a push down automaton.
17.State the Halting problem.
18.Define the notion of a computable function.
19.Give two examples of complexity classes.
20.Briefly describe the chomsky hierarchy of languages.

                             Part-B
Answer all the questions [4*15=60 Marks]
21.Using NDFAs, show that the class of regular languages are closed under unions, concatenation, Kleen closures and reversals.
(OR)
22.Construct a deterministic FSA for the following NFSA with starting state 1, accepting state 3 and transition table as given below.
State/alphabet a b
1 2 -
2 - 3
3 1 -

23.Explain the steps in SLR(1) parsing with an example.
(OR)
24.Explain the steps to convert to chomsky normal for for the following grammar
s->ASA|aB,A->B|S,B->b|epsilon.

25.Explain pumping Lemma for regular languages and prove that L={0^n|n is a square|is not regular.
(OR)
26.Explain pumping lemma for context free languages and use it to prove that L={ww|w a binary string} is not context free.

27.Define the complexity classes P, NP, NP complete and give examples.
(OR)
28.Define a Turing machine and construct a Tm that recognized the language L of balanced parentheses.



Tags : Sastra University Theory of computing question paper , Sastra University TOC question paper , Sastra University question paper , Sastra question paper , Sastra  Theory of computing question paper , Sastra TOC question paper , Sastra University Theory of computing previous year question paper , Sastra University Theory of computing old question paper ,Theory of computing question paper , Sastra University Theory of computing semester question paper , sastra previous year question paper , anna university question paper , anna university semester question paper , anna university TOC question paper


Digital Image Processing | Previous Year Semester Question Paper





Tags : DIP Semester Question Paper , Image Processing Semester Question Paper , anna university semester question paper , sastra university question paper , Digital Image Processing model question paper , Digital Image Processing semester question paper , Digital Image Processing old question paper , Digital Image Processing exam question paper , Digital Image Processing previous year question paper , sastra Digital Image Processing model question paper , sastra university Digital Image Processing model question paper , sastra university Digital Image Processing previous question paper , anna university Digital Image Processing model question paper , Digital Image Processing engineering question paper , Digital Image Processing important 2 marks , sastra university question paper , anna university question paper , sastra university previous year question paper , sastra university old question paper , sastra university  old question paper , sastra question paper , anna university question paper , sastra  previous year question paper , sastra university question paper , sastra old question paper , sastra DIP question paper

Data Structure | Previous Year Semester Question Paper


Tags : Sastra University Semester Question Paper , Data Structure Model Question Papers , Anna University Model Question Papers , Anna University DS Model Question Papers , Anna University Data Structure Model Question Paper , Data Structure Question paper. 

Encrypt & Decrypting Messages

 /*
Exercise : Ex 3
Title : Sender Program..
Author :Aslam Jainul
*/

import java.io.*;
import java.net.*;
import java.util.*;
 class sender
{
public static void main(String args[])
{
try
{
int key;
DataInputStream dis=new DataInputStream(System.in);

key=2;
System.out.println("enter the name");
String f=dis.readLine();
File f1=new File(f);
FileReader fr=new FileReader(f1);
Socket s=new Socket("192.168.208.118",8081);
PrintWriter put=new PrintWriter(s.getOutputStream(),true);
put.println(f);
int c=0;
while((c=fr.read())!= -1)
{
put.println(c+key);
}
System.out.println("File content transferred");
fr.close();
s.close();
}
catch(Exception e)
{}
}
}


 /*
Exercise : Ex 3
Title : Receiver Program..
Author :Aslam Jainul
*/

import java.io.*;
import java.net.*;
import java.util.*;
 class receiver
{
public static void main(String args[]) throws IOException
{
ServerSocket ss;
Socket s;
try
{
System.out.println("waiting for client");
ss=new ServerSocket(8081);
s=ss.accept();
System.out.println("connection established");
BufferedReader get=new BufferedReader(new InputStreamReader(s.getInputStream()));
String fname;
fname=get.readLine();
fname="TR_"+fname;
System.out.println("file name is:"+fname);
File f=new File(fname);
FileWriter fw=new FileWriter(f);
String c;
while((c=get.readLine())!=null)

fw.write(Integer.parseInt(c));
System.out.println("received content stored");
fw.close();
s.close();
}
catch(Exception e)
{}
}
}

 /*
Exercise : Ex 3
Title : Decrypt File
Author :Aslam Jainul
*/

import java.io.*;
import java.net.*;
import java.util.*;
 class decript
{
public static void main(String args[])
{
try
{
DataInputStream dis=new DataInputStream(System.in);
System.out.println("Enter the encrypted file name with extension");
String fname=dis.readLine();
File f1=new File(fname);
FileReader fr=new FileReader(f1);
File f2=new File("dec_"+fname);
FileWriter fw=new FileWriter(f2);
int c=0;
while((c=fr.read())!=-1)
{
System.out.println(c-2);
fw.write(c-2);
}
fr.close();
fw.close();
}
catch(Exception e)
{}
}
}




UDP Receiver & Sender Program

 /*
Exercise : Ex 2(b)
Title : UDP Receiver Program..
Author :Aslam Jainul
*/
 import java.io.*;
                 import java.net.*;
                 import java.util.*;
                 public class UdpReceiver
                 {
                     public static void main(String args[])throws IOException
                     {
                          try
                             {
                                 DataInputStream dis=new DataInputStream(System.in);                              
                                 byte[] rdata=new byte[1024];
                                                        
                       
                               DatagramSocket s=new DatagramSocket(9876);
                               DatagramPacket rpack=new DatagramPacket(rdata,rdata.length);
                           
                               System.out.println("Waiting for file name:");
                               s.receive(rpack);
                           
                               String fname=new String(rpack.getData());
                               System.out.println("From server : "+fname);
                                                     
                             fname="TR_"+fname;
                             System.out.println("File name is : "+fname);
                         
                             File f=new File(fname);
                             FileWriter fw=new FileWriter(f);
                         
                           
                             while(true)
                             {
                             
                             byte[] rdata1=new byte[1024];                           
                             DatagramPacket rpack1=new DatagramPacket(rdata1,rdata1.length);
                           
                             s.receive(rpack1);
                             String txt=new String(rpack1.getData());
                             fw.write(txt);
                             System.out.print(txt);
                             if(txt.trim().equals("done"))
                             {
                                  System.out.println("Process finished");
                                  fw.close();
                                  break;
                             }
                             
                             }
                         }
                         catch(IOException e)
                         {          System.out.println(""+e);
                         }
                     }
                 }


 /*
Exercise : Ex 2(b)
Title : UDP Sender Program..
Author :Aslam Jainul
*/
   import java.io.*;
                   import java.net.*;
                   import java.util.*;
                   public class UdpSender
                   {
                        public static void main(String args[])
                        {
                             try
                             {
                                  DataInputStream dis=new DataInputStream(System.in);
                                  System.out.println("Enter the file name :");
                                  String f=dis.readLine();

                               
 byte[] sdata=new byte[1024];                           
                             sdata=f.getBytes();
                               
                               InetAddress ipa=InetAddress.getByName("127.0.0.1");
                               DatagramSocket s=new DatagramSocket();
                               DatagramPacket spack=new DatagramPacket(sdata,sdata.length,ipa,9876);
                               s.send(spack);
                             
                                  File f1= new File(f);
                                  FileReader fr=new FileReader(f1);
                                  int n=0;
                                  byte[] buffer=new byte[1024];
                             
StringBuffer fileData = new StringBuffer(1000);
        BufferedReader reader = new BufferedReader(new FileReader(f));
        char[] buf = new char[1024];
        int numRead=0;
        while((numRead=reader.read(buf)) != -1)
        {
            String readData = String.valueOf(buf, 0, numRead);
            System.out.print(readData);
            buffer=readData.getBytes();
        DatagramPacket spack1=new DatagramPacket(buffer,buffer.length,ipa,9876);
           s.send(spack1);
        }                            
                             
byte[] endChar=new byte[1024];
endChar="done".getBytes();
spack=new DatagramPacket(endChar,endChar.length,ipa,9876);
s.send(spack);
         }
         catch(IOException e)
         {
          System.out.println(""+e);
         }
    }
}



TCP Receiver & Sender Program

/*
Exercise : Ex 2(a)
Title : TCP Receiver Program..
Author :Aslam Jainul
*/

import java.io.*;
import java.net.*;
import java.util.*;
public class TCPreceiver
{
public static void main(String args[])
{

ServerSocket ss;
Socket s;
try
{
System.out.println("Waiting for Client........");
ss=new ServerSocket(8081);
s=ss.accept();
System.out.println("Connection Done...!!");
BufferedReader get=new BufferedReader(new InputStreamReader(s.getInputStream()));
String fname;
System.out.println("From : " + s.getInetAddress() );

fname=get.readLine();
fname="TR_" +fname;
System.out.println("file name is:" +fname);
File f=new File(fname);
FileWriter fw=new FileWriter(f);
String c;
while((c=get.readLine())!=null)
fw.write(Integer.parseInt(c));
System.out.println("Contents Received..");
fw.close();
s.close();
}
catch(Exception e)
{}

}
}


/*
Exercise : Ex 2(a)
Title : TCP Sender Program..
Author :Aslam Jainul
*/

import java.io.*;
import java.net.*;
import java.util.*;
public class TCPsender
{
public static void main(String args[])
{
try
{
System.out.println("Enter the File Name you wanna transfer ...");
DataInputStream dis=new DataInputStream(System.in);
String f=dis.readLine();
File f1=new File(f);
FileReader fr=new FileReader(f1);
Socket s=new Socket("192.168.208.118",8081);
PrintWriter put=new PrintWriter(s.getOutputStream(),true);
put.println(f);
int c=0;
while((c=fr.read())!=-1)
put.println(c);
System.out.println("File Transfered....");
fr.close();
s.close();
}
catch(Exception e)
{}
}
}




Program for using Ping command

/*
Exercise : Ex 1(b)
Title : Program for using ping command..
Author :Aslam Jainul
*/

import java.net.*;
import java.io.*;
import java.net.InetAddress.*;
public class EX_1_B_Ping
{
public static void main(String args[])
{
try
{
DataInputStream obj= new DataInputStream(System.in);

System.out.println("Enter the IP/Name Address.....");

String user_str = obj.readLine();

String mystring ="ping " + user_str ;

Runtime r= Runtime.getRuntime();
Process p=r.exec(mystring);

DataInputStream obj1= new DataInputStream(p.getInputStream());

String  data=obj1.readLine();
while(data !=null )
{
System.out.println(data);
data=obj1.readLine();
}
}

catch(Exception E)
{
System.out.print("SOME ERROR OCCURED");
}
}
}

Output :


Program to find IP address of a computer

/*
Exercise : Ex 1(a)
Title : Program to find IP Address of a computer..
Author :Aslam Jainul
*/

import java.net.*;
import java.io.*;
import java.net.InetAddress.*;
public class EX_1_A_IP
{
public static void main(String args[])
{
try
{
DataInputStream obj= new DataInputStream(System.in);

System.out.println("Enter the IP Address.....");

String user_str = obj.readLine();

System.out.println();
InetAddress ip =InetAddress.getByName(user_str);
if(ip.isReachable(3000))
{

System.out.print(" The given IP address is ACTIVE");
System.out.print(" \n\n");
System.out.print(" Host Name : ");
System.out.print(ip.getHostName());
System.out.print(" \n\n");
System.out.print(" Host Address : ");
System.out.print(ip.getHostAddress());
System.out.print(" \n\n");

}
else
{
System.out.println("The given IP address is INACTIVE");
}
}

catch(Exception E)
{
System.out.print("SOME ERROR OCCURED");
}
}
}

Output :





The program can't start because libgcc_s_dw2-1.dll is missing from your computer. Try reinstalling the program to fix this problem.







Download the file and install it & Restart your system. 



Tag : How to fix the dll error ? The program can't start because libgcc_s_dw2-1.dll is missing from your computer.  Try reinstalling the program to fix this problem .  libgcc_s_dw2-1.dll file is missing . download  libgcc_s_dw2-1.dll is missing ,  libgcc_s_dw2-1.dll is missing error , how to download  libgcc_s_dw2-1.dll is missing . error in dll , The program can't start because libgcc_s_dw2-1.dll is missing from your computer.  Try reinstalling the program to fix this problem , The program can't start because libgcc_s_dw2-1.dll is missing from your computer.  Try reinstalling the program to fix this problem. The program can't start because libgcc_s_dw2-1.dll is missing from your computer.  Try reinstalling the program to fix this problem , notepad++ , notepad , eclipse .

Cyclic Nature

Cyclic nature of data type in C:

In C some data types shows one special properties that when we 
assign a value beyond range of that data type then it will not any 
compiler error but assign a number according to some cyclic order. 
This property is known as cyclic nature of data type.
Data type which shows cyclic nature:
(a) char
(b) int
(c) long int
Data type which doesn't show cyclic nature:
(a) float
(b) double
(c) long double

1. Cyclic nature of unsigned char:
Range of unsigned char is 0 to 255. 
If we will assign a value greater than  255 then value of variable will be 
changed to a value if we will move clockwise direction 
as shown in the figure according to number. 
If number is less than 0 then move in anti clockwise direction.


Short cut formula to find cyclic value:
If number is X where X is greater than 255 then
New value = X % 256
If number is Y where Y is less than 0 then
New value = 256 – (Y% 256)


2. Cyclic nature of signed
 char:

Range of unsigned char is -128 to 127. 
If we will assign a value greater than 127 then value of variable will be 
changed to a value if we will move clockwise direction 
as shown in the figure according to number. 
If number is less than -128 then move in anti clockwise direction.



Short cut formula to find cyclic value:
If number is X where X is greater than 127 then
p = X % 256
if p <=127 
New value = p 
else 
New value = p – 256
If number is Y where Y is less than -128 then
p = Y % 256 
If p <= 127 
New value = -p 
else 
New value = 256 -p

3. Cyclic nature of unsigned int:

Range of unsigned int is 0 to 653535. 
If we will assign a value greater than 65535 then value of variable will be 
changed to a value if we will move clockwise direction 
as shown in the figure according to number. 
If number is less than 0 then move in anti clockwise direction.
Short cut formula to find cyclic value:
If number is X where X is greater than 65535 then
New value = X % 65536
If number is Y where Y is less than 0 then
New value = 65536– (Y% 65536)


4. Cyclic nature of signed int:

Range of unsigned int is -32768 to 32767. 
If we will assign a value greater than 32767 then value of variable will be 
changed to a value if we will move clockwise direction 
as shown in the figure according to number. 
If number is less than -32768 then move in anti clockwise direction.
If number is X where X is greater than 32767 then
p = X % 65536
if p <=32767 

New value = p 
else 
New value = p - 65536 
If number is Y where Y is less than -32768 then 
p = Y % 65536 
If p <= 32767 
New value = -p 
else 
New value = 65536 -p 



Note: Same rule is also applicable in case of signed long int and 
unsigned long int.








a