Showing posts with label Computer Engineering Coaching. Show all posts
Showing posts with label Computer Engineering Coaching. Show all posts

Tuesday, February 25, 2020

Data Type in C Language-tccicomputercoaching.com


What is Data Type and Why Data Type Need?

In programming there are different types of data used for example 987, 876.34, xyz, Hello World, %, # etc.

As a human being we can differentiate that these all data are different but machine can't differentiate data, so, to differentiate data they have been categorized in different categories which are called data type.

ANSI C provides three types of data types:

1. Primary (Built-in) DataTypes:
 
void , int, char, double and float.

2. Derived DataTypes: 

Array , References, and Pointers.

3. User Defined DataTypes: 

Structure , Union, and Enumeration.

1. Following are Primary Data Types in C:

  • void - means nothing. void is always used with main function. That mean void function does not return any value.
  • int - 0-9 digit (combination) i.e. 99999 , 10 , 0 , 23456
  • float - Real Number i.e 78.91
  • char -There are 4 sub categories:
                    o 0-9

                    o a-z

                   o A-Z

                   o other symbols

  • Note: character contains only single value
  • string - Is collection of character but C language does not allow to declare string as a data type.
Data Type is always used in variable declaration in beginning in void main.

data type name;

For example,

int rollno;

float salary;

char code;

2. Following are Derived Data Types in C:

Derived Data type is based on Primary data type. 

Arrays - Arrays are sequences of data items having homogeneous values.

References - Function pointers allow referencing functions with a particular signature.

Pointers - These are powerful C features which are used to access the memory address

3. Following are User Defined Data Types in C:


C allows the feature called type definition which allows programmers to define their identifier that would represent an existing data type. There are three such types:
  • Structure
It is a package of variables of different types under a single name. This is done to handle data efficiently. "struct" keyword is used to define a structure.
  • Union
These allow storing various data types in the same memory location. Programmers can define a union with different members, but only a single member can contain a value at a given time.
  • Enum
Enumeration is a special data type that consists of integral constants, and each of them is assigned with a specific name. "enum" keyword is used to define the enumerated data type.

To learn more about C Language at TCCI

Visit @ http://tccicomputercoaching.com/

Call @ 9825618292

Monday, February 24, 2020

Loop in C Language - tccicomputercoaching.com


What is Loop in Programming?

To write once, but execute more than one time is called Loop in Programming. This will save time of developer to write n time.

3 type of Loop:


  •  for
  •  while
  •  do-while


We see one by one in detail.

There are 3 sections in each loop:

there is loop variable i/j

1. initialization i=1 or i=10

2. condn check i<=10 or i>=1

3. update (++ or --) i=i+1 or i++ i--

e.x. We want to print 10 time "hello world". Then what is the syntax in coding?

Let us see.

1. for loop

for (i=1;i<=10;i++)

{

Printf ("hello world\n");

}

Here, all 3 sections are in same statement. First initialization executed always. Then control goes to the condition checking. If condition is true then only control entered into the loop and statement inside the loop will be executed. Then control goes to the updating, again condition checking , and same process will continue until condition will be false.

2. While Loop

i=1;
   
while(i<=10)

{
 
printf ("hello wolrd\n");

i++;

}

Here , initialization is outside of Loop. Then control goes to the condition checking. If condition is true then only control entered into the loop and statement inside the loop will be executed. Then control goes to the updating, again condition checking , and same process will continue until condition will be false.

3. do -while Loop

i=1;

do

{
 
printf ("hello wolrd\n");

i++;
 


} while (i>=10);

Here, also initialization is outside of Loop. But in this Loop condition is last , so control direct enter into the loop and one time statement inside the loop will be executed. Then updating and last control rich to the condition checking. If condition is true then control again entered into the loop , and process will be continue until condition will be false.

Thus , Do - While loop is different than previous two loop. Here condition is last , so , if condition is false yet output will execute one time. When in previous two loop condition is false then output will not execute once.

Second difference is : in do-while there is semi colon at last.

TCCI is located in developing area of city - Bopal and heart of City Satellite area in Ahmedabad.
Our course include all Computer course, Web Designing Course , Project Training, Basic Computer Course, Programming Course etc.

We have team of qualified and experienced Faculties who teach all important subjects of Civil Engineering, Mechanical Engineering, Computer-IT Engineering, EC Engineering, Electrical Engineering, EEE Engineering , Maths Course etc

We teach computer subjects to school students from class 1 to 12th (any Board).

Main advantage of TCCI is "Lecture as per student flexible time".

For more information about TCCI.

Call us @ 9825618292

Visit us @ http://tccicomputercoaching.com/

Friday, February 14, 2020

What is SQL? What is an Importance of SQL? tccicomputercoaching.com

What is SQL ?

SQL stands for Structured Query Language. SQL is a language for interacting with data in a database. SQL works following:

Create, Putting data into tables. Read Query data out of a table. Update Change data already in a table .Delete Remove data from the table.


What is an Importance of SQL?

SQL helps a user program to update the computer database by removing old data, modifying hitherto stored data, and adding new data.

It works by understanding and analyzing databases that include data fields in their tables. For example, we can take a large organization where a lot of data have to be stored and managed.

SQL DDL provides commands for defining relation schemas, deleting relations, modifying relation schemas. SQL includes commands for beginning and ending the transactions.

For more information about SQL at TCCI.

Call us @ 9825618292

Visit us @ www.tccicomputercoaching.com

Monday, March 11, 2019

Why is C programming language called C? tccicomputercoaching.com

C is a middle level programming language developed by Dennis Ritchie while working at AT&T Bell Labs in USA.
 
The objective of its development was in the context of the re-design of the UNIX operating system to enable it to be used on multiple computers.



Earlier the language B was now used for improving the UNIX system. Being a high level language, B allowed much faster production of code than in assembly language.
 
Still, B suffered from drawbacks as it did not understand data-types and did not provide the use of “structures”.



To overcome the drawbacks Dennis Ritchie develop a new programming language called C.

C language is not tied to any particular operating system. It can be used to develop new operating system.

The C programs are efficient, fast and highly portable. i.e. C programs written on one computer can be run on another with more or almost no modification.

TCCI Computer Institute is located in Bopal and Satellite in Ahmedabad. We teach all Programming Languages including C Programming Language to the school students, Engineering Student, BCA, and MCA, Industry people or any Person.

For more information about C Programming Language

Call us @ 9825618292

Visit us @ http://tccicomputercoaching.com/engineering-courses/

Friday, January 11, 2019

What is URLConnection class in Java? tccicomputercoaching.com

The Java URLConnection class represents a communication link between the URL and the application. This class can be used to read and write data to the specified resource referred by the URL.

The URLConnection class contains many methods that let you communicate with the URL over the network. URLConnection is an HTTP-centric class; that is, many of its methods are useful only when you are working with HTTP URLs.



However, most URL protocols allow you to read from and write to the connection.

For run the programme related URL Connection you should know some built-in methods like,
  • URLConnection openConnection(): opens the connection to the specified URL.
  • OutputStream getOutputStream(): returns the output stream to this connection.
  • InputStream getInputStream(): returns the input stream to this open connection.
Steps involved in the above process:

1. URL Creation: Create a URL object using any of the constructors given int
2. this article
3. Create Object: Invoke the openConnection() call to create the object of URLConnection.
4. Display the Content: Either use the above created object to display the information about the resource or to read/write contents of the file to console using bufferedReader and InputStream of the open connection using getInputStream() method.
5. Close Stream: Close the InputStream when done.

To learn more in detail about URLConnection class, Java Netwroking , Advance Java at TCCI Coaching in Ahmedabad.

Online Coaching is available.

Call us @ 9825618292

Visit us@ http://tccicomputercoaching.com/java-language-course/

Thursday, December 27, 2018

Computer engineering coaching tccicomputercoaching.com

In the current world, it’s almost impossible to imagine that someone can live without computers.

That’s why Computer Engineering is best choice in current days which provides many opportunities for Job in IT field. There so much to learn today and the material for the same is easily available. The programs and applications are only as smart as the person who coded it is.



Learn any programming language at TCCI Computer Coaching Institute: Java, Python, .Net, C, C++, SQL, HTML, PHP, C#, System Programming, Compiler Design, CSS, JavaScript, DBMS.  
Any of these. Here are numerous different fields of expertise in Programming.

TCCI conduct Online and Offline both class for every Programming Languages .We teach all subjects of this stream including University of Nirma, Indus, Gujarat Technological, GU,DDIT, PDPU, Changa etc…..)

Lectures conducted by Expert Faculties at your comfortable schedule at TCCI . You can get the Best knowledge in your field through our Experienced Faculties.

Course Duration: Daily/2 Days/3 Days/4 Days

Class Mode: Theory with Practical

Learn Training: At student’s Convenience

You can attend Free Demo Lecture and join us @ TCCI.

Call us @ 9825618292

Visit us @ http://tccicomputercoaching.com/course/

Friday, November 23, 2018

What is a better virtual server: Linode, Slicehost, Rackspace or Amazon EC2?

For hosting small applications Linode is better idea and it works very well with S3. I have tried EC2 and Rack space in past and I always had performance issues with them (unresponsive servers because someone else is eating your resources). I think Linode is quite optimized for better performance and especially they never oversell the resources.



They offer library of Stack Scripts which makes your life easier, and within no time you can have full server running with all installations (LAMP, WP, Rails etc). They offer best value for money as far as I know.
Enough benchmarks showing that equivalent plans are Linode are faster as well as cheaper. That said, it's been about a year and a half since I looked at that, so I don't know if things still stand that way now.
Conclusion is that some user use Linode, someone use Slice host, someone use EC2 or Rack space . Performance of all servers are good but it depends on user's requirement and use. So , all servers are Good .
If you like this post then please share and like the post.
Call us @ 98256 18292
Visit us @ http://tccicomputercoaching.com/