TutorMe homepage
Subjects
PRICING
COURSES
SIGN IN
Start Free Trial
Abhishek R.
IIT-BHU, Goldman Sachs
Tutor Satisfaction Guarantee
Software Engineering
TutorMe
Question:

What are Software Metrics

Abhishek R.
Answer:

Metrics are utilized to guide the software product delivery as per the business standards. Metrics can also be used to measure few features of software product delivery. Metrics are divided into requirement metrics, product metrics, performance metrics, and process metrics. Let us move to the next software Engineering Interview Questions.

Databases
TutorMe
Question:

What do you understand by Data Redundancy?

Abhishek R.
Answer:

Duplication of data in the database is known as Data redundancy. As a result of Data Redundancy, duplicated data is present at various locations, hence it leads to wastage of the storage space and the integrity of the database is destroyed

C++ Programming
TutorMe
Question:

Given student’s records with each record containing id, name and age of a student. Write a C program to read these records and display them in sorted order by name.

Abhishek R.
Answer:

// C program to read Student records // like id, name and age, // and display them in sorted order by Name #include <stdio.h> #include <stdlib.h> #include <string.h> // struct person with 3 fields struct Student { char* name; int id; char age; }; // setting up rules for comparison // to sort the students based on names int comparator(const void* p, const void* q) { return strcmp(((struct Student*)p)->name, ((struct Student*)q)->name); } // Driver program int main() { int i = 0, n = 5; struct Student arr[n]; // Get the students data arr[0].id = 1; arr[0].name = "bd"; arr[0].age = 12; arr[1].id = 2; arr[1].name = "ba"; arr[1].age = 10; arr[2].id = 3; arr[2].name = "bc"; arr[2].age = 8; arr[3].id = 4; arr[3].name = "aaz"; arr[3].age = 9; arr[4].id = 5; arr[4].name = "az"; arr[4].age = 10; // Print the Unsorted Structure printf("Unsorted Student Records:\n"); for (i = 0; i < n; i++) { printf("Id = %d, Name = %s, Age = %d \n", arr[i].id, arr[i].name, arr[i].age); } // Sort the structure // based on the specified comparator qsort(arr, n, sizeof(struct Student), comparator); // Print the Sorted Structure printf("\n\nStudent Records sorted by Name:\n"); for (i = 0; i < n; i++) { printf("Id = %d, Name = %s, Age = %d \n", arr[i].id, arr[i].name, arr[i].age); } return 0; }

Send a message explaining your
needs and Abhishek will reply soon.
Contact Abhishek
Ready now? Request a lesson.
Start Session
FAQs
What is a lesson?
A lesson is virtual lesson space on our platform where you and a tutor can communicate. You'll have the option to communicate using video/audio as well as text chat. You can also upload documents, edit papers in real time and use our cutting-edge virtual whiteboard.
How do I begin a lesson?
If the tutor is currently online, you can click the "Start Session" button above. If they are offline, you can always send them a message to schedule a lesson.
Who are TutorMe tutors?
Many of our tutors are current college students or recent graduates of top-tier universities like MIT, Harvard and USC. TutorMe has thousands of top-quality tutors available to work with you.