Showing posts with label computer. Show all posts
Showing posts with label computer. Show all posts

How to Schedule a Shutdown in Windows

You can schedule a shutdown in Windows. We will see how to plan a shutdown in your windows computer. It works for Windows 7, Windows 8 and Windows 10. To arrange or organize an automatic shutdown in your Windows computer, we use a run command. Once you set up a shutdown, when the specified time period is elapsed, you computer will shut down. Follow the given instructions to schedule an auto shutdown.


  1. Open Run dialog box from start menu (or by pressing Windows key + R).
  2. type shutdown /s /t sec in it.
    Here sec is the amount of time in seconds to be elapsed before shut down.
  3. Press Enter or click OK.
  4. You will be notified that a shutdown is scheduled.
  5. It is done.
An example is:
shutdown /s /t 600
Here after 600 seconds (10 minutes), the computer will turn off. The following video will show you.



How to Create Shutdown Shortcut in Windows

You can make a shortcut file which when opened, instantly shuts down Windows Operating System. This works in Windows 7, Windows 8 and Windows 10. Here we will see how to create a shutdown shortcut in Windows. To make a shutdown shortcut on desktop, follow the given instructions.

  1. Right click on desktop.
  2. Select New -> Shortcut
  3. Type shutdown /p  in the text box
  4. Click Next button
  5. Give a name for the shortcut, like 'Shutdown' or 'Turn off'.
  6. Now Click Finish.
  7. No you will get a shortcut file on desktop
If you open this shortcut file, your computer will shutdown instantly. You will lose your unsaved works. So close all applications properly before shutdown.

EDC Previous Year Question Paper 2013 for Third Semester Computer Science

Free download Previous year 2013 question paper for B.Tech degree examination of Electronic devices and circuits for third semester Computer science and engineering (CSE).

Subject : Electronic devices and circuits (3rd sem)
Course : BTech Engineering
Department: Computer Science and engineering (CS)
Semester: Third semester (s3)
University : MG university Kottayam kerala

Computer Organisation Previous Year Question Paper 2013 for Third Semester Computer Science

Computer Organisation 2013 Previous year Question Paper for BTech third Semester Computer Science under MG university

Free Download pdf Computer Organization (CO) Previous years Questions Papers 2013 November s3 (third semester) B.Tech Computer Science exam.

Subject : Computer Organisation (3rd semester)
Course : BTech Engineering
Department: Computer Science
Semester: Third semester (s3)
University : MG university Kottayam kerala

Fifth Semester BTech Computer Science and IT Mathematics Previous Year Question 2014

Previous year question paper 2014

Subject : Engineering Mathematics IV (EN010501 B)
Course : BTech Engineering
Department: Computer Science and Engineering and IT (Information Technology)
Semester: fifth semester (s5)
University : MG university Kottayam kerala

How to Connect PC or Laptop to Internet Using Android Phone

The Android operating system supports usage of Android phones as an Internet modem for Personal computer or laptops. This facility of sharing the Internet connection of Android phone with a laptop or PC through a USB cable is called USB tethering. It supports most of major operating systems.

In Linux:


In Linux you just have to enable 'packet data' in phone first, connect phone with PC or laptop through USB data cable and check the option 'USB tethering' in Settings. It is somewhere within USB settings or Wifi and network settings. The place of this option may vary from phone to phone.In my phone (Ssmsung Galaxy S Advance, GT-I9070) , it is found as follows: Settings-> Wireless and Neetwork->Tethering and Portable Hotspot-> USB tethering. Check the option 'USB Tethering'. When 'USB tethering' is enabled, your Linux OS will automatically install the 'Remote NDIS based Internet sharing' driver. and your computer will automatically connect to internet within a few minutes.


Windows XP:


How to Connect Windows 8 or 8.1 Compuer to Internet by USB Tethering Android Phone

Let me tell you first that USB tethering is the process of sharing the internet connection of your Android phone with your PC or laptop through USB connection. In Windows 7, Windows Vista and Linux, USB tethering works so easily that we just have to enable packet data, connect phone through USB and enable 'USB tethering' in Settings. Above mentioned operating systems automatically install the required drivers. And within few minutes, the system will connect to Internet through your USB connected Android phone. But it is not that much easy in Windows 8 or Windows 8.1. We have to manually install the driver for the Android device to enable USB tethering. In this post, I will show you how to enable USB tethering in Windows 8 and Windows 8.1.

C and C++ Program to Check Whether a Given Year is Leap Year or Not

This is post contains a C program and a C++ program to check whether an input year is leap year or not. A year is a leap year if:

  1. The year is divisible by 400
  2. The year is divisible by 4 but not divisible by 100.
Any other year is not a leap year.

C program
#include <stdio.h>
void main()
{
int year;
printf("Enter a year to check if it is a leap year\n");
scanf("%d", &year);
if(year%400==0 || ((year%4=0) && (year%100!=0)))
printf("%d is a leap year.\n", year); else
printf("%d is not a leap year.\n", year);
}


C++ program
#include <iostream.h>
void main()
{
int year;
cout<<"Enter a year to check if it is a leap year or not";
cin>>year;
if(year%400==0 || ((year%4=0) && (year%100!=0)))
cout<<"\n"<<year<<"is a leap year."; else
cout<<"\n"<<year<<"is NOT a leap year."; 
}

C Program to Check Whether a Given String is Palindrome or Not

Here i am writing two different programs two check whether an input string is palindrome or not. The first program checks the string manually character by chatter from both ends. The other program make use of a string function strrev() (under string.h) to reverse the string. Therefore, the second program is more compact.

Program 1:

#include<stdio.h>

#include<string.h>

void main()

{

char a[20];

int i, len;

printf("\nEnter the string:\n");

gets(a);

len = strlen(a);

for (i = 0; i < len / 2; i++)

{

if (a[i] != a[len - i - 1])

break;

}