Vignan_First_Year_Practice_Part_4

 Good Day Vignan first year students, 

welcome to coding practice part 4

The link below contains 24 questions based patterns , you have 5 days time.

All the students please Participate in the following link: 

https://p.hck.re/24De



Please Fill the google Forms :

https://forms.gle/8dakRjWanAsoPAxk7 





Happy Coding

netaji gandi Monday, February 28, 2022
Vignan_First_Year_Practice_Part_2

 Good Day Vignan first year students, try to solve the TEN problems given in the link below.

All the TEN question are very basic and based on only Control flow Statements.

All the students please Participate in the following link: 

https://www.hackerearth.com/challenges/college/vignan_first_year_practice_part_2/


Please Fill the google Forms :

https://forms.gle/8dakRjWanAsoPAxk7 





Happy Coding

netaji gandi Sunday, February 27, 2022
Vignan_first_year_practice_part_3/

 Vignan_first_year_practice_part_3/

Good Day Vignan first year students, 

Please Create an account in www.hackerearth.com and try to solve the TEN problems given in the link below.

All the TEN question are very basic and based on Loops.

All the students please Participate in the following link: 

https://www.hackerearth.com/challenges/college/vignan_first_year_practice_part_3/



Please Fill the google Forms :

https://forms.gle/8dakRjWanAsoPAxk7 





Happy Coding

netaji gandi Saturday, February 26, 2022
PROBLEM SOLVING USING C LAB Programs -JNTUK(R20)-2021-22

 

PROBLEM SOLVING USING C LAB Programs -JNTUK(R20)




Excercise -1
Write a C program to print a block F using hash (#), where the F has a height of six characters and width of five and four characters.

/* Write a C program to print a block F using hash (#), where the F has a height of six characters and width of five and four characters. */

#include<stdio.h>
int main( )
{
    printf("######\n");
    printf("#\n");
    printf("#\n");
    printf("#####\n");
    printf("#\n");
    printf("#\n");
    printf("#");
    return 0;
}

Output:

Write a C program to compute the perimeter and area of a rectangle with a height of 7 inches and width of 5 inches.

/*Write a C program to compute the perimeter and area of a rectangle with a height of 7 inches and width of 5 inches. */
 
#include <stdio.h>
int main( )
{
    int a,p;
    a=7*5;
    p=2*(7+5);
    printf("Area of the rectangle is %d\n",a);
    printf("Perimeter of a rectangle = %d\n",p);
    return 0;
}

Output:

Area of the rectangle is 35
Perimeter of a rectangle is 24

Write a C program to display multiple variables.

/* Write a C program to display multiple variables. */

 #include<stdio.h>

int main( )

{

    char c='V';

    int i=678;

    float f=12.23;

    double d=12.123456789;

    printf("Character = %c\n",c);

    printf("Integer = %d\n",i);

    printf("Float = %f\n",f);

    printf("Double = %lf\n",d);

    return 0;

}


Output:

Character = V

Integer = 678

Float = 12.230000

Double = 12.123457


Excercise -2
Write a C program to calculate the distance between the two points.

 /* Write a C program to calculate the distance between the two points. */


#include<stdio.h>
#include<math.h>
int main( )
{
    int x1,x2,y1,y2;
    int x,y;
    float d;
    printf("Enter the coordinates of first point(x1,y1):");
    scanf("%d%d",&x1,&y1);
    printf("Enter the coordinates of the second point(x2,y2):");
    scanf("%d%d",&x2,&y2);
    x = (x2-x1);
    y = (y2-y1);
    d = sqrt((x*x)+(y*y));
    printf("Distance = %.2f\n",d);
    return 0;
}
  
Output:

Enter the coordinates of first point(x1,y1):3 7
Enter the coordinates of the second point(x2,y2):5 8
Distance = 2.236
Write a C program that accepts 4 integers p, q, r, s from the user where r and s are positive and p is even. If q is greater than r and s is greater than p and if the sum of r and s is greater than the sum of p and q print "Correct values", otherwise print "Wrong values".

Complete Lab Manual Download Below 



netaji gandi
Vignan_First_Year_Practice_Part_1

 Good Day Vignan first year students, 

Please Create an account in www.hackerearth.com and try to solve the TEN problems given in the link below.

All the TEN question are very basic and based on only Control flow Statements.

All the students please Participate in the following link: 

https://p.hck.re/koNV



Please Fill the google Forms :

https://forms.gle/8dakRjWanAsoPAxk7 





Happy Coding

netaji gandi Tuesday, February 22, 2022
NPTEL Introduction to Industry 4.0 and Industrial Internet of Things Week4 Assignment 4 Solution 2022

 

Week 4 : Assignment 4

Due date: 2022-02-23, 23:59 IST.
Your last recorded submission was on 2022-02-22, 17:58 IST
1 point
Which of the following is/are the component(s) of Cyber Security?
 
 
 
 
1 point
Application firewall is an example of __________________ countermeasure.
 
 
 
 
1 point
What does OPSEC stand for?
 
 
 
 
1 point
What are the three main parts of SDCMA?
 
 
 
 
1 point
Which of the following issues is/are raised due to the lack of a proper standardization?
 
 
 
 
1 point
what is/are the benefit(s) of IIoT?
 
 
 
 
1 point
Which of the following sensors is used for tracking miners in mining industries?
 
 
 
 
1 point
What is the third wave in the three waves of innovation?
 
 
 
 
1 point
How many key elements are there in the Industrial Internet?
 
 
 
 
1 point
Which of the following best describes a smart sensor?
 
 
 
 
1 point
Which of the following is not a part of a smart sensor node?
 
 
 
 
1 point
Which of the following is not a hardware specific Intel library for IoT devices?
 
 
 
 
1 point
What is/are the application(s) of GPS tracker in IIoT?
 
 
 
 
1 point
What is the prime characteristic of Industry 3.0?
 
 
 
 
1 point
What is/are the benefit(s) of Industrial Process 4.0?
 
 
 
 

netaji gandi
NPTEL Data Analytics with Python Week4 : Assignment 4 Answers 2022

 

Week4 : Assignment 4



If we have a sample size of 20 and population standard deviation is known, we will use:
 
 
 
 
1 point
Null hypothesis, Ho: mu1- mu2 = 0 is a:
 
 
 
 
1 point
The quality-control manager at a Li-BATTERY factory needs to determine whether the mean life of a large shipment of Li-Battery is equal to the specified value of 375 hours. The process standard deviation is known to be 100 hours. A random sample of 64 batteries indicates a sample mean life of 350 hours. 
State the null and alternative hypotheses
 
 
 
 
1 point
The quality-control manager at a Li-BATTERY factory needs to determine whether the mean life of a large shipment of Li-Battery is equal to the specified value of 375 hours. The process standard deviation is known to be 100 hours. A random sample of 64 batteries indicates a sample mean life of 350 hours. 
At the alpha = 0.05 level of significance is there any evidence that the mean life is different from 375 hours?
 
 
 
1 point
For one-tailed test, the test statistic z is determined to be zero. The p-value for this test is:
 
 
 
 
1 point
The error of rejecting a true null hypothesis is:
 
 
 
 
1 point
The mean cost of a hotel room in a city is said to be $168 per night. A random sample of 25 hotels resulted in X-bar = $172.50 and sample standard deviation s = 15.40. Calculate the t statistic.
 
 
 
 
1 point
In hypothesis testing if the null hypothesis is rejected,
 
 
 
 
1 point
In the hypothesis testing procedure, alpha is
 
 
 
 
1 point
If a hypothesis is rejected at the 5% level of significance, it
 
 
 
 

netaji gandi

File Uploading in PHP

  File Uploading in PHP PHP allow you to upload any type of a file i.e. image, binary or text files.etc..,PHP has one in built global variab...