Blog Archive

TNPSC Combined Engineering Services Exam 2021 Notification released TNPSC website

 

Tamil Nadu Public Service Commission has released the TNPSC Combined Engineering Services Exam 2021 notification. The application process has already started on the official site of TNPSC Website. This recruitment drive will fill up 537 posts in the organization. The last date to apply for the examination is till April 4, 2021.

Applications are invited from eligible candidates, only through online mode upto 04.04.2021 for direct recruitment to the posts included in the Combined Engineering Subordinate Services Examination.

TNPSC Combined Engineering Services Exam 2021:


IMPORTANT DATES AND TIME:

Date of NotificationMarch 5, 2021
Last date for submission of online application April 4, 2021
Date of Written Examination June 6, 2021

 

TNPSC Combined Engineering Services Exam 2021: 

DETAILS OF VACANCIES:

Name of the Post  Number of vacancies 
1. Junior Draughting Officer in Highways Department (Post Code No. 3115) 183 Posts
2. Junior Draughting Officer in Public Works Department (Post Code No. 3120) 348 Posts
3. Junior Technical Assistant in Handlooms and Textiles Department (Post Code No.1853) 1 Post
4. Junior Engineer in Fisheries Department (Post Code No. 3107)5 Posts

TNPSC Combined Engineering Services Exam 2021: 

Eligibility Criteria

Educational Qualification


 



TNPSC Combined Engineering Services Exam 2021: 

Selection Process

Based on the marks obtained by the candidates in the Written Examination and subject to the rule of reservation of appointments, the tentative list of eligible candidates for certificate verification will be announced on the Commission’s website.

TNPSC Combined Engineering Services Exam 2021: 

Application fees

The registration fee is Rs 150/- for all candidates. The Examination fee of Rs 100/- should be paid at the time of submitting the online application for this recruitment. For more related details candidates can visit the official site of TNPSC.

 CLICK HERE TO DOWNLOAD NOTIFICATION

 

 

PG -TRB COMPUTER INSTRUCTOR C plus plus Class : 3 Control statements

 

C++ Control Statement




C++ if-else

In C++ programming, if statement is used to test the condition. There are various types of if statements in C++.

  • if statement
  • if-else statement
  • nested if statement
  • if-else-if ladder

C++ IF Statement

The C++ if statement tests the condition. It is executed if condition is true.

if(condition){    

//code to be executed    

}  

 

C++ If Example

#include <iostream>  

using namespace std;  

   

int main () {  

   int num = 10;    

            if (num % 2 == 0)    

            {    

                cout<<"It is even number";    

            }   

   return 0;  

}  

Output:

It is even number

 

C++ IF-else Statement

The C++ if-else statement also tests the condition. It executes if block if condition is true otherwise else block is executed.

if(condition){    

//code if condition is true    

}else{    

//code if condition is false    

}    

 

 

C++ If-else Example

#include <iostream>  

using namespace std;  

int main () {  

   int num = 11;    

            if (num % 2 == 0)    

            {    

                cout<<"It is even number";    

            }   

            else  

            {    

                cout<<"It is odd number";    

            }  

   return 0;  

}  

 

Output:

It is odd number

C++ If-else Example: with input from user

#include <iostream>  

using namespace std;  

int main () {  

    int num;  

    cout<<"Enter a Number: ";  

    cin>>num;  

            if (num % 2 == 0)    

            {    

                cout<<"It is even number"<<endl;    

            }   

            else  

            {    

                cout<<"It is odd number"<<endl;    

            }  

   return 0;  

}  

Output:

Enter a number:11
It is odd number

Output:

Enter a number:12
It is even number

C++ IF-else-if ladder Statement

The C++ if-else-if ladder statement executes one condition from multiple statements.

if(condition1)

{    

//code to be executed if condition1 is true    

}

else if(condition2)

{    

//code to be executed if condition2 isi true    

}    

else if(condition3)

{    

//code to be executed if condition3 is true    

}    

...    

else{    

//code to be executed if all the conditions are false    

}    

C++ If else-if Example

#include <iostream>  

using namespace std;  

int main () {  

       int num;  

       cout<<"Enter a number to check grade:";    

       cin>>num;  

            if (num <0 || num >100)    

            {    

                cout<<"wrong number";    

            }    

            else if(num >= 0 && num < 50){    

                cout<<"Fail";    

            }    

            else if (num >= 50 && num < 60)    

            {    

                cout<<"D Grade";    

            }    

            else if (num >= 60 && num < 70)    

            {    

                cout<<"C Grade";    

            }    

            else if (num >= 70 && num < 80)    

            {    

                cout<<"B Grade";    

            }    

            else if (num >= 80 && num < 90)    

            {    

                cout<<"A Grade";    

            }    

            else if (num >= 90 && num <= 100)    

            {    

                cout<<"A+ Grade";  

            }    

    }    

Output:

Enter a number to check grade:66
C Grade

Output:

Enter a number to check grade:-2
wrong number

C++ switch

The C++ switch statement executes one statement from multiple conditions. It is like if-else-if ladder statement in C++.

switch(expression){      

case value1:      

 //code to be executed;      

 break;    

case value2:      

 //code to be executed;      

 break;    

......      

      

default:       

 //code to be executed if all cases are not matched;      

 break;    

}    

C++ Switch Example

#include <iostream>  

using namespace std;  

int main () {  

       int num;  

       cout<<"Enter a number to check grade:";    

       cin>>num;  

           switch (num)    

          {    

              case 10: cout<<"It is 10"break;    

              case 20: cout<<"It is 20"break;    

              case 30: cout<<"It is 30"break;    

              default: cout<<"Not 10, 20 or 30"break;    

          }    

    }    

Output:

Enter a number:
10
It is 10

Output:

Enter a number:
55
Not 10, 20 or 30

PG -TRB COMPUTER INSTRUCTOR C plus plus Class : 4 switch do while

  C++ switch The C++ switch statement executes one statement from multiple conditions. It is like if-else-if ladder statement in C++. sw...