To find count vowels and consonants present in any sentence entered by the user
See Answer →To find the Largest and Smallest number in an unsorted array of integers, entered by the user
See Answer →Complete these sentences with verbs in the simple present
(First one is done for you): 05
i I walk to office every day.
ii I __________ my house at 8 o’clock in the morning.
iii I ____________ my office by 8.30 am.
iv I ___________ my lunch in the office canteen.
v I ____________ home by 6 pm.
To convert decimal number enetered by the user into its equivalent Binary number.
See Answer →Now complete these sentences with suitable expressions from the above table:
i She was perfectly dressed and looked very _________________.
ii You will need a ______________ document from your organization stating your tenure of work with
them.
iii Her is an _______________ appointment. She is presently under observation.
iv The Darjeeling tea is regarded by _________________ as the very best in the world.
v If you have no understanding of another’s culture, you could easily make a
_______________________ which could be extremely embarrassing.
vi If you cannot resolve the issue the ______________ will continue.
vii They set up a __________________ at a faraway resort where nobody would disturb them.
viii He was given _______________ to deal with the matter as he found suitable.
ix My particular _________________ is people smoking in public places even after the ban.
x You cannot stay in a foreign country ____________ on a visitor’s visa.
See Answer →
To replicate strcpy() function of string.h header file
See Answer →To find the sum of digits in an N digit number entered by the user, and print weather the final sum of digits is even or odd
See Answer →Using Structures write an interactive program in C language to create an application program for a small school to maintain the Student_’s database. This application should be having menu options like
• Creating a New Record
• Reading/Listing of Records
• Modify the record
•Delete the record
Each Student_ record should have Student_Name, Student_Roll_No., Student_Class, Student_Fees, Date of Admission, etc.). The application should be designed user-friendly
See Answer →Write these words in the contracted from:
i I am
ii She is
iii We are
iv We have
v You have
vi I would
vii You would
viii Do not
ix Are not
x Should not
xi Should have
xii Need not
xiii It is
xiv That is
xv He is
See Answer →
Punctuality is a necessary habit in all public affairs of a civilized society – Without it nothing could ever be concluded, everything would be in a state of chaos. Only in a sparsely populated rural community is it possible to disregard it. In ordinary living there can be some tolerance of unpunctuality. The intellectual, who is working on some abstruse problem, has everything coordinated and organized for the matter in hand. He is therefore forgiven, if late for the dinner party. But people are often reproached for unpunctuality when their only fault is cutting thing fine. It is hard for energetic, quick-minded people to waste time, so they are often tempted to finish, a job before setting out to keep an appointment. If no accidents occur on the way, like punctured tyres, diversion of traffic, sudden descent of fog, they will be on time. They are often more industrious, useful citizens than those who are never late. The over-punctual can as much be a trial to others as the unpunctual. The guest who arrives half an hour too soon is the greatest nuisance. Some friends of my family had this irritating habit. The only thing to do was to ask them to come half an hour later than the other guests. Then they arrived just when we wanted them. If you are catching a train, it is always better to be comfortably early than even a fraction of a minute too late. Although being early, may mean wasting a little time, this will be less than if you miss the train and have to wait an hour or so for the next one. And you avoid the frustration of arriving at the very moment when the train is drawing out of the station and being unable to get on it. An even a harder situation is to be on the platform in good time for a train and still to see it go off without you. Such an experience be fell a certain young girl the first time she was travelling alone. She entered the station twenty minutes before the train was due, since her parents had impressed upon her that it would be unforgiveable to miss it and cause the friends with whom she going to stay to make two journeys to meet her. She gave her luggage to a porter and showed him her ticket. To her horror he said that she was too hours too soon. She felt in her handbag, for the piece of paper on which her father had written down all the details of the journey and gave it to the porter. He agreed that a train did come into the station at the time on the paper and that it did stop, but only to take on water, not passengers. The girl asked to see a timetable, felling sure that her father could not have made such a mistake. The porter went to fetch one and arrived back with the stationmaster, who produced it with a flourish and pointed out a microscope ‘o’ beside the time of the arrival of the train at his station. The little ‘o’ indicated that the train only stopped for water. Just at the moment the train came into the station, the girl, tears streaming down her face, begged to be allowed to strip into the guard’s van. But the stationmaster was adamant; rules could not be broken. And she had to watch that train disappear towards her destination while she was left behind.
Questions :
a. Why is punctuality a necessary habit?
b. Why is the intellectual forgiven if he is late?
c. Who does the writer refer to as ‘industrious useful citizen’?
d. How did the writer deal with the ‘over punctual’ friend?
e. What request did the girl make to the guard and why didn’t he oblige?
Write a shell script to display the line count over several files(given as arguments)
See Answer →Write a shell script to find whether the given year is a leap year or n
See Answer →Write a shell program to compress any file given by the user as an argument and display its original file size and compressed file size.
See Answer →To count no. of lines, words and characters in a file.
See Answer →To translate the file content from lower case to upper case.
See Answer →To compare two files or streams.
See Answer →To diplay the User ID / Group ID
See Answer →To display the file content in a reverse order (from the last line) of any text file.
See Answer →To grant the permissions of read and execute to the user and execute only permission to the group and others for all the files in a current directory.
See Answer →To display the first 10 lines of any text file
See Answer →