C and C++

Programming Language Translators

As you know that high-level language is machine-independent and assembly language though it is machine-dependent yet mnemonics that are being used to represent instructions are not directly understandable by the machine. Hence to make the machine understand the instructions provided by both languages, programming language instructors are used. They transform the instruction prepared by programmers […]

C and C++

Explain Programming language

A language that is acceptable to a computer system is called a computer language or programming language and the process of creating a sequence of instructions in such a language is called programming or coding. A program is a set of instructions, written to perform a specific task by the computer. A set of large […]

SI Unit System

The General Conference on Weights and Measures created and recommended the SI in 1971 for use internationally in scientific, technical, industrial, and commercial activities. The SI has a common scheme of symbols, units, and abbreviations. In order to eliminate unit misunderstanding in technical and scientific study, the SI unit is a global standard of measures. […]

sum and average of elements in the Array

#include<stdio.h> #include<conio.h> void main() { int a[20],i,sum=0; float avg=0; printf(“\n Enter the element:”); for(i=0;i<20;i++) { scanf(“%d”,&a[i]); } printf(“\n The elements in the array are:”); for(i=0;i<20;i++) { sum=sum+a[i]; } printf(“\n The Sum of elements in the array is %d”,sum); avg=sum/20; printf(“\n The Average of elements in the array is %f”,avg); getch(); }

c program to Reverse the elements in the Array

#include<stdio.h> #include<conio.h> void main() { int a[10],i; printf(“\n Enter the element:”); for(i=0;i<10;i++) { scanf(“%d”,&a[i]); } printf(“\n The elements in the array are:”); for(i=9;i<=0;i–) { printf(“%d”,a[i]); printf(“\n”); } getch(); }

Arrays

The values are initially stored in a primary data type variable. The downside is that a variable can only hold one value at a time. As a result, if you want to store several values, you’ll need to declare multiple variables. Two or three values can be stored or accessed using an extra variable. Consider […]

Classification of Computers

These days, various types of computer technology are available. Each sort of computer has varied functionality and data processing capabilities, as well as different output results. However, each computer’s methodologies or approaches, as well as its size, capacity, attributes, and data handling, may differ. The computers can be classified into three categories: 1. On the […]

Generations Of Computers

Each new generation of computer has brought considerable improvements in computing speed and power. Learn about the five generations of computers, as well as the significant technological advancements that have led to the computer technology we use today. The history of computer development is a topic in computer science that is frequently used to refer […]

Cloud Computing

What are the various trust models

A Generalized Trust Model At the bottom, we identify three major factors which influence the trustworthiness of a resource site. An inference module is required to aggregate these factors. Followings are some existing inference or aggregation methods. An intra-site fuzzy inference procedure is called to assess defense capability and direct reputation. Defense capability is decided […]

Explain HDFS Concepts in detail Cloud Computing

Explain HDFS Concepts in detail

Blocks A disk has a block size, which is the minimum amount of data that it can read or write. Filesystem blocks are typically a few kilobytes in size, while disk blocks are normally 512 bytes. HDFS has the concept of a block, but it is a much larger unit—64 MB by default. File0sin HDFS […]