Read the four input string variables s1, s2, s3, s4 and store it in single string variable "COLLEGE" and display the string.
Consider an online video-sharing platform like YouTube which hosts tens of thousands of channels and crores of users.
The sample database consists of tables that store the information of users, channels, videos, genres and likes/dislikes.
Note:
channel_iduser_idsubscribed_datetime10012020-12-10 10:30:4510072020-10-10 11:30:45.........
channel_usertable stores the data of the channel_ids and their subscribers' user_ids.First row in the table represents that the user with user_id = 1 is subscribed to the channel with channel_id = 100 at
user_idvideo_idreaction_typereacted_at110LIKE2020-12-10 10:30:45710DISLIKE2020-10-10 11:30:45............
Similarly,
video_idgenre_id1020110202......
Similarly,
I CAN EXPLAIN QUESTION CLEARLY....
a) With suitable illustration, discuss the relationship between processes and threads and how a process is created in Windows.
AP,6
b) Using the Windows API, write a C/C++ system program to delete a file in the Windows file system. Compile and run the program and copy the source code into your answer booklet.
CR,8
c) Discuss the Windows registry and how it is use in data/information management. AN,6
Write a program that counts the number of objects created and destroyed using constructer and destructor.
Area of Square
Given an MxN matrix filled with
The first line of input will be containing two space-separated integers, denoting M and N.
The next M lines will contain N space-separated integers, denoting the elements of the matrix.
The output should be a single line containing the area of the maximum square.
For example, if the given M, N and elements of matrix are as the following
4 5
X O X O O
X O X X X
X X O X X
X O O X O
The matrix from indices (1, 3) to (2, 4) has the maximum square with
X. So the output should be the area of the maximum rectangle with X, which is 4.
Sample Input 1
4 5
X O X O O
X O X X X
X X O X X
X O O X O
Sample Output 1
4
Sample Input 2
3 3
O X X
O X X
O O O
Sample Output 2
4
Take 3 values find out average of three values check with result is less than 500 and result is greater than 500
Number to English Words
Write a program to convert a non-negative integer
The input will be a single line containing an integer
The output should be a single line containing the representation of the English words of number
For example, if the given number is 123, your code should print the English words representation, which is
One Hundred Twenty Three
Sample Input 1
123
Sample Output 1
One Hundred Twenty Three
Sample Input 2
10005
Sample Output 2
Ten Thousand Five
Sample Input 3
1234567891
Sample Output 3
One Billion Two Hundred Thirty Four Million Five Hundred Sixty Seven Thousand Eight Hundred Ninety One
for this question you have answered like:
but we are getting "ModuleNotFoundError: No module named 'num2words'"
import num2words
print(num2words.num2words(input()))Write a program that swaps values between different locations in a two dimensional array. Make sure that the locations between which the values are being exchanged are symmetric.
Write a program that uses a two dimensional of 256 x 8 to store 8 bit binary representations of each of the characters of ASCII character set.
Write a program to compute and print the pay of an employee by using constructor in multiple inheritance with arguments. Pass the employee number and basic pay to constructor, compute the allowances and net pay on basis of basic pay. The program should have the following classes.
◦Emp_address base class
◦Emp_allowance base class
◦Print_pay dervied class which is derived form above mentioned base classes.