TCCI-Tririd Computer Coaching Institute is focused on providing Quality education with practical sessions.Satisfaction of our student is our priority. We pride ourselves for providing proficient IT solutions. We have a highly qualificated and expereinced faculties, who, not only handle teaching, but also aspire to provide the best possible solution through their technical expertise.
Showing posts with label vacation batch at tcci. Show all posts
Showing posts with label vacation batch at tcci. Show all posts
Wednesday, May 15, 2019
Friday, May 10, 2019
Why pointer is used in Programming Language? tccicomputercoaching.com
A pointer
represents the address where the data resides in memory. Dereferencing the
pointer (*ptr) reads the value from the address or assigns a new value at
that address.
There are lots of reasons to use pointer in Programming:
Call us @ 9825618292
Visit us @ http://tccicomputercoaching.com/
There are lots of reasons to use pointer in Programming:
- To dynamic allocate in your memory.
- Pointers allow you to refer to the same space in memory from multiple locations. This means that you can update memory in one location and the change can be seen from another location in your program.
- User can use pointers any place where they need to obtain and pass around the address to a specific spot in memory.
- In some cases, function pointers are required to use functions that are in a shared library.
- In Data structures pointer is very useful, node link pointers for special tree.
Call us @ 9825618292
Visit us @ http://tccicomputercoaching.com/
Wednesday, May 8, 2019
Tuesday, May 7, 2019
Saturday, May 4, 2019
Wednesday, May 1, 2019
What is recursion? tccicomputercoaching.com
Recursion
means function
calls itself n times.
Example:
int factorial(int n)
{
If (n==1)
return 1;
else
return (n* factorial(n-1));
}
In above factorial example : factorial function calls itself by multiplying n with factorial of n-1 and stops when it reaches to the bas condition at fact 1 by returning 1.
So function calling done in the following way.
fact(5).
5*fact(4) //calls fact(4)
5*4*fact(3)
5*4*3*fact(2)
5*4*3*2*fact(1)
5*4*3*2*1*1 // stops here
Output:
120
To learn more about in detail Programming
Join us @ TCCI Computer Coaching
Call us @ 9825618292
Visit us @ www.tccicomputercoaching.com
Factorial is Best Example of Recursion. How recursion works?
void recurse()
{
... .. ...
recurse();
... .. ...
}
int main()
{
... .. ...
recurse();
... .. ...
}
int factorial(int n)
{
If (n==1)
return 1;
else
return (n* factorial(n-1));
}
In above factorial example : factorial function calls itself by multiplying n with factorial of n-1 and stops when it reaches to the bas condition at fact 1 by returning 1.
So function calling done in the following way.
fact(5).
5*fact(4) //calls fact(4)
5*4*fact(3)
5*4*3*fact(2)
5*4*3*2*fact(1)
5*4*3*2*1*1 // stops here
Output:
120
To learn more about in detail Programming
Join us @ TCCI Computer Coaching
Call us @ 9825618292
Visit us @ www.tccicomputercoaching.com
Tuesday, April 30, 2019
What is Modules in Python? tccicomputercoaching.com
In programming, a module is a piece of software that has a specific
functionality.
For example, when developing a big task, one module would be responsible for the one task, and another module would be responsible for another task. Each module is a different file, which can be edited separately.
Modules in Python are simply Python files with a .py extension. The name of the module will be the name of the file. A Python module can have a set of functions, classes or variables defined and implemented.
Python is most popular programming Language in Developers.
TCCI teaches python from very basic concepts to Object Oriented concepts efficiently.
For more information about computer courses at TCCI , Python Course at TCCI, Online Computer Course .
Call us @ 9825618292
Visit us @ http://tccicomputercoaching.com/blog/
For example, when developing a big task, one module would be responsible for the one task, and another module would be responsible for another task. Each module is a different file, which can be edited separately.
Modules in Python are simply Python files with a .py extension. The name of the module will be the name of the file. A Python module can have a set of functions, classes or variables defined and implemented.
Python is most popular programming Language in Developers.
TCCI teaches python from very basic concepts to Object Oriented concepts efficiently.
For more information about computer courses at TCCI , Python Course at TCCI, Online Computer Course .
Call us @ 9825618292
Visit us @ http://tccicomputercoaching.com/blog/
What is Java Bean in Java? tccicomputercoaching.com
Java
Bean is a normal Java class which has private properties with its public
getter and setter method. Java Beans are generally used as helper class. Example - public class
User implements java. io. Serializable {private String name; private
Integer age; public String getName(){ return this.
To learn more in detail about Java, Advance Java, Python , C++.
Call us @ 9825618292
Visit us @ http://tccicomputercoaching.com/contact/
To learn more in detail about Java, Advance Java, Python , C++.
Call us @ 9825618292
Visit us @ http://tccicomputercoaching.com/contact/
What is difference between friend function and friend class? tccicomputercoaching.com
The
Friend function
and friend class in C++ are the techniques used to access the private
members of a class by using friend keyword.
Difference:
Friend function is a function used with a friend keyword to grant a non-member function access to the private members of a class.
Friend class is a class used with a friend keyword to access the private members of another class.
Use:
A friend function can be used in some situation of operator overloading.
A friend class can be used when a class is created on the top of another class.
The first condition is that friend function is not inherited by a child class. The second condition is that storage class specifier may not be present in friend function, which means that it cannot be declared as static and extern.
The friend class can be declared in more than a single class. It is considered as a short alternative method for friend function because with the help of this we can create a friend class which can access the whole data members and function instead of creating multiple friend functions.
A friend function is required when a function needs to access two or more independent classes, internal members. On the other hand, a friend class is needed when a class requires accessing the members of another class. When a multiple member function needs to be a friend of that function, in that case, it is better to use friend class.
To learn C++
Call us @ 9825618292
Visit us @ http://tccicomputercoaching.com/workshop/
Difference:
Friend function is a function used with a friend keyword to grant a non-member function access to the private members of a class.
Friend class is a class used with a friend keyword to access the private members of another class.
Use:
A friend function can be used in some situation of operator overloading.
A friend class can be used when a class is created on the top of another class.
The first condition is that friend function is not inherited by a child class. The second condition is that storage class specifier may not be present in friend function, which means that it cannot be declared as static and extern.
The friend class can be declared in more than a single class. It is considered as a short alternative method for friend function because with the help of this we can create a friend class which can access the whole data members and function instead of creating multiple friend functions.
A friend function is required when a function needs to access two or more independent classes, internal members. On the other hand, a friend class is needed when a class requires accessing the members of another class. When a multiple member function needs to be a friend of that function, in that case, it is better to use friend class.
To learn C++
Call us @ 9825618292
Visit us @ http://tccicomputercoaching.com/workshop/
Monday, April 29, 2019
Why do we need default constructor? tccicomputercoaching.com
Constructor
is used to initialize an object. In other words, constructor provides memory to an object. Without
initializing an
object we can’t use its properties.
But there is no need to define or declare a default constructor in Java . The compiler implicitly adds a default constructor in the program if we have not declared or defined it.
Example-
class Experiment
{
int a=10;
int b=20;
public static void main(String[] argus)
{
Experiment e=new Experiment(); //default constructor//
}
}
The only purpose of the constructor is to set a variable's default value, which will be zero anyway. This default constructor will be implicitly declared and created by the compiler.
For more information about constructor in Java,Constructor in C++, TCCI.
Call us @ 9825618292
Visit us @ www.tccicomputercoaching.com
But there is no need to define or declare a default constructor in Java . The compiler implicitly adds a default constructor in the program if we have not declared or defined it.
Example-
class Experiment
{
int a=10;
int b=20;
public static void main(String[] argus)
{
Experiment e=new Experiment(); //default constructor//
}
}
The only purpose of the constructor is to set a variable's default value, which will be zero anyway. This default constructor will be implicitly declared and created by the compiler.
For more information about constructor in Java,Constructor in C++, TCCI.
Call us @ 9825618292
Visit us @ www.tccicomputercoaching.com
Friday, April 26, 2019
What is the difference between Bufferreader and InputstreamReader in Java? tccicomputercoaching.com
BufferedReader and InputStreamReader are both Input Function in Java
File.
BufferedReader reads a couple of characters from the specified stream and stores it in a buffer. This makes input faster.
InputStreamReader reads only one character from specified stream and remaining characters still remain in the stream.
Example:
1. class NewClass{
2. public static void main(String args[]) throws InterruptedException, IOException{
3.
4. BufferedReader isr = new BufferedReader( new InputStreamReader (System.in));
5.
6. Scanner sc = new Scanner(System.in);
7.
8. System.out.println("B.R. - "+(char )isr.read());
9. System.out.println("Scanner - " + sc.nextLine());
10. }
11. }
When the isr.read() statement is executed, I entered the input ”hello” and the character “h” of “hello” is printed on the screen. If this was InputStreamReader then the remaining characters “ello” would have remained in the System.in stream and the sc.nextLine() would have printed them. But in this case it doesn’t happens because the BufferedReader reads all of the “hello” characters from the System. in stream and stores them in its own personal buffer and thus the System. In stream remains empty when sc.nextLine() is executed.
For more information about Java, C++, Vacation Batch at TCCI , Python at TCCI
Call us @ 9825618292
Visit us @ www.tccicomputercoaching.com
BufferedReader reads a couple of characters from the specified stream and stores it in a buffer. This makes input faster.
InputStreamReader reads only one character from specified stream and remaining characters still remain in the stream.
Example:
1. class NewClass{
2. public static void main(String args[]) throws InterruptedException, IOException{
3.
4. BufferedReader isr = new BufferedReader( new InputStreamReader (System.in));
5.
6. Scanner sc = new Scanner(System.in);
7.
8. System.out.println("B.R. - "+(char )isr.read());
9. System.out.println("Scanner - " + sc.nextLine());
10. }
11. }
When the isr.read() statement is executed, I entered the input ”hello” and the character “h” of “hello” is printed on the screen. If this was InputStreamReader then the remaining characters “ello” would have remained in the System.in stream and the sc.nextLine() would have printed them. But in this case it doesn’t happens because the BufferedReader reads all of the “hello” characters from the System. in stream and stores them in its own personal buffer and thus the System. In stream remains empty when sc.nextLine() is executed.
For more information about Java, C++, Vacation Batch at TCCI , Python at TCCI
Call us @ 9825618292
Visit us @ www.tccicomputercoaching.com
Thursday, April 25, 2019
Why we need Constructor? tccicomputercoaching.com
Generally in Programming methods can be accessed through objects of
class.
Constructor is the normal method that is invokes automatically when we create an object. The main reason for having the constructor is to initialize the variables.
In java Constructor providing memory for referenced variables (non static variables).
Constructor name and class name must be same.
If we are not create any constructor compiler will adds default zero argument constructor to your java file.
We can put only return keyword in Constructor.
TCCI Coaching Institute provides various computer courses to school, College students and any persons in Bopal and Satellite in Ahmedabad.
For more information about Courses at TCCI
Call us @ 9825618292
Visit us @ www.tccicomputercoaching.com
Constructor is the normal method that is invokes automatically when we create an object. The main reason for having the constructor is to initialize the variables.
In java Constructor providing memory for referenced variables (non static variables).
Constructor name and class name must be same.
If we are not create any constructor compiler will adds default zero argument constructor to your java file.
We can put only return keyword in Constructor.
TCCI Coaching Institute provides various computer courses to school, College students and any persons in Bopal and Satellite in Ahmedabad.
For more information about Courses at TCCI
Call us @ 9825618292
Visit us @ www.tccicomputercoaching.com
Thursday, April 11, 2019
Tuesday, April 9, 2019
Monday, March 25, 2019
This summer learn a cool new skill at TCCI - tccicomputercoaching.com
The summer camp
for kids 2019 TCCI is organizing has gone through many drafts to ensure
that we come up with the best and the most unique ideas for children who
are going to be a part of it.
Word, Excel , PowerPoint Presentation, HTML , CSS, Programming , Logo etc.
"Learn with Fun” is our agenda.
Register with us @ 98256 18292.
Visit us @ http://tccicomputercoaching.com/course/
Word, Excel , PowerPoint Presentation, HTML , CSS, Programming , Logo etc.
"Learn with Fun” is our agenda.
Register with us @ 98256 18292.
Visit us @ http://tccicomputercoaching.com/course/
Subscribe to:
Posts (Atom)








