Uncategorized

Which data type will be used to represent the following data values and why?

a) Number of months in a year.b) Resident of Delhi or notc) Mobile numberd) Pocket moneye) Volume of a spheref) Perimeter of a squareg) Name of the studenth) Address of the student ANS: a) ‘int’ data type will be used because number of months is always an integer or whole number. b) ‘bool’ (boolean) data

Which data type will be used to represent the following data values and why? Read More »

Python assignment statements Examples

a) Assign 10 to variable length and 20 to variable breadth.b) Assign the average of values of variables length and breadth to a variable sum.c) Assign a list containing strings ‘Paper, ‘Gel Pen’, and ‘Eraser’ to variable stationary.d) Assign the strings ‘Mohandas’, ‘Karamchand ’, and ‘Gandhi’ to variable first, middle and last.e) Assign the concatenated

Python assignment statements Examples Read More »

Which of the following identifier names are invalid and why?

Ans: a) Serial_no. Invalid We cannot use any punctuation mark in identifier name b) 1st_Room Invalid Variable name cannot begin with number c) Hundred$ Valid We can use ‘$‘anywhere in variable name except at the beginning. d) Total Marks Invalid We cannot provide space between the names of variable. e) Total_Marks Valid We can use

Which of the following identifier names are invalid and why? Read More »

How block chain technology can be used to promote accountability, transparency and efficiency in distribution of scholarships?

The blockchain technology works on the concept of decentralized and shared database where each computer has a copy of the database. Basis on this we can define a system for scholarship that allows a group of nodes to maintain a single updated and secure ledger. Each node maintains an ‘append copy’ open ledger which is

How block chain technology can be used to promote accountability, transparency and efficiency in distribution of scholarships? Read More »

Five friends plan to try a startup. However, they have a limited budget and limited computer infrastructure. How can they avail the benefits of cloud services to launch their startup?

By using Infrastructure as a Service (IaaS) modal, they can avail the benefits of the cloud services to launch their startup. Using IaaS from the cloud, they can use the hardware and software infrastructure remotely to configure, deploy and execute any application. And they can outsource the hardware and software as on demand and pay

Five friends plan to try a startup. However, they have a limited budget and limited computer infrastructure. How can they avail the benefits of cloud services to launch their startup? Read More »

What is on-demand service? How it is provided in cloud computing?

On-demand service refers to the type of service of technology and computing in which computing resources are provided on an as-needed and when-needed basis. A user can use on-demand infrastructure or platform or software and is usually charged as per the usage, thereby eliminating the need of a huge investment upfront for a new or

What is on-demand service? How it is provided in cloud computing? Read More »

‘Storage of data is cost effective and time saving in cloud computing.’

The cloud storage is cost effective and time saving because we do not need to expense on hardware resources, power and support to manage and store data, the cloud vendor handles all. With cloud computing substantially less time is spent on maintaining software, searching for specific files as all the data are stored at centralized

‘Storage of data is cost effective and time saving in cloud computing.’ Read More »

Differentiate between cloud computing and grid computing with suitable examples.

Cloud Computing Grid Computing Cloud computing comprise of software, hardware, storage and delivered over the Internet. A grid is computer network of geographically dispersed and heterogeneous computation resources Cloud computing is more flexible than grid computing Grid computing is less flexible than cloud computing Cloud computing is service oriented Grid computing is application oriented

Differentiate between cloud computing and grid computing with suitable examples. Read More »

error: Content is protected !!
Scroll to Top