Skip to content
Blogs By Rakesh Roshan 0

What is Malware?

It is a program used to unauthorized access the computer by the third party for their benefit. Type of Malware •Virus •Worms•Ransomeware •Spyware •Trojan Horse •Keyloggers Virus •A Virus is a malicious executable program attached to another executable file. •It harms your system by modifying and deleting data. •It spread from system to system with the file. •Virus will do […]

Placement preparation 0

IMPORTANT QUESTIONS ON C LANGUAGE FOR PLACEMENT DRIVES #3

Question #1: #include<stdio.h> void main() {   int const *cp;   int Res,Num=90;   cp=&Num;   Res=++(*cp);   printf(“%d”,Res); } 90 91 Compiler Error Address of Num Question #2: #include<stdio.h> #define CUBE(x) x*x*x void main() {   int Res;   Res=8/CUBE(2);   printf(“%d”,Res); } 2 4 1 16 Question #3: #include<stdio.h> #define CUBE(x) (x*x*x) void main() { int Res; Res=8/CUBE(1+1); […]

Placement preparation 0

Important Questions on C Language for Placement Drives #2

Question #1: #include<stdio.h> void main() {        int m=10,n=5,Res;        Res=m++ + ++n;        printf(“%d”,Res); } 16 11 5 16 11 6 15 11 6 17 11 6 Question #2: #include<stdio.h> void main() {      extern float Num;      Num=99.9;      printf(”%f”,Num); } Undefined reference to Num 99.9 No Output Runtime Error Question #3: #include<stdio.h> void main() { float *Ptr […]

Placement preparation 0

Important Questions on C Language for Placement Drives

Question #1: #include<stdio.h> void main() {      int a=10,b=90;      printf(“%d”); } 90 10 Compilation Error Runtime Error Question #2: #include<stdio.h> void mian() {      printf(“%d”,printf(“Learn TechToTech”)); } Learn TechToTech 0 1 Error Question #3 #include<stdio.h> void main() { int Num; printf(“%d”,scanf(“%d”,&Num)); //Suppose input is 23 } 0 1 23 Error Question #4 #include<stdio.h> void main() { int Res; Res=(8&7) […]

Uncategorized 0

Some important C Programs

//Write a C Program to convert lower case to upper case and vice versa #include<stdio.h> void main() { char ch; printf(“Enter the Character:”); scanf(“%c”,&ch); if(islower(ch)) printf(“%c”,toupper(ch)); else printf(“%c”,tolower(ch)); } //Write a C Program to display the ASCII value with characters #include<stdio.h> void main() { int Num; for(Num=0;Num<=255;Num++) printf(“%d=%c\n”,Num,Num); } //Write a program to calculate the factorial of a Numbers #include<stdio.h> […]

Exam Alert 0

NIMCET-2018 Alert (NIT MCA Common Entrance Test 2018)

Participating Institute NITs of following Cities: 1.Allahabad 2.Agartala 3.Bhopal 4.Calicut 5.Durgapur 6.Jamshedpur 7.Raipur 8.Kurushetra 9.Warangal 10.Surathkal 11.Tiruchirappalli Eligibility Criteria 1.Qualification: B.Sc/B.Tech/BE/B.sc(CS)/B.Sc(IT)/BCA/BIT or minimum 3 years full time with Mathematics/Statistics/equivalent as one of the subject from recognized university. 2.Appearing students of the qualifying exam can also participate. 3.Marks: 6.5 CGPA or 60% marks aggregate in Graduation. Exam pattern Computer : 10 […]

Python Programming 0

Connection of MySQL and Python using PyMySql

Connection of MySQL and Python using PyMySql 1. Executing SQL query in Python Using PyMySql: Execute the SQL query by using the Python Programming Language and pyMysql. Here I have taken the Book database from the MySQL to display the result. import pymysql myConn=pymysql.connect(host=’localhost’,user=’root’,password=’root123′, db=’Db_py’) print (“Connection Established!”) sql = “Select B_id, B_Name, Price,Author from Book Where B_id = %s […]

Uncategorized 0

C Program for Different Pattern

Question 1: * ** *** **** ***** #include<stdio.h> void main() { int i,j,n; printf(“Enter the Number of lines:”); scanf(“%d”,&n); for(i=n;i>=1;i–) { for(j=n;j>=i;j–) printf(“*”); printf(“\n”); } } Question 2: ***** **** *** ** * #include<stdio.h> void main() { int i,j; for(i=5;i>=1;i–) { for(j=i;j>1;j–) printf(“*”); printf(“\n”); } } Question 3: * *      * *      *      * […]