Posts

SecretMessage agency Difficulty: easy Max Points: 10 Description SecretMessage agency provides message encoding and decoding services for secure data transfer. The first step in decoding includes removal of special characters and the whitespaces from the message, as special characters and whitespaces do not hold any meaning. Write an algorithm to help the agency find the number of special characters and whitespaces in a given message. Input The input consists of a string message, representing the message that need to be decoded by the agency. Output

One Time Password Difficulty: easy Max Points: 10 Description An e-commerce site wishes to enhance its ordering process. They plan to implement a new scheme of OTP (One Time Password) generation for order confirmations. The OTP can be any number of digits. For OTP generation, the user will be asked to enter two random numbers. The first number entered should always be smaller than the second number. The OTP is calculated as the sum of the maximum and the minimum prime values in the range of the user-entered numbers. Write an algorithm to find the OTP Input The input consists of two space-separated integers – firstNumber and secondNumber, representing the two numbers entered by the user. Both numbers are considered in the range. Output

Odd Even Online Game Difficulty: easy Max Points: 10 Description You are playing an online game. In the game, a list of N numbers is given. The player has to arrange the numbers so that all the odd numbers of the list come after the even numbers. Write an algorithm to arrange the given list such that all the odd numbers of the list come after the even numbers. Input The first line of the input consists of an integer num, representing the size of the list (N). The second line of the input consists of N space-separated integers representing the values of the list. Output Print N space-separated integers such that all the odd numbers of the list come after the even numbers. Constraints NA Example Input : 8 10 98 3 33 12 22 21 11 Output: 10 98 12 22 3 33 21 11

Sum of Adjacent Distances Difficulty: easy Max Points: 10 Description Write a program to calculate and return the sum of distances between the adjacent numbers In an array of positive integers. Note: You are expected to write code in the find Total distance function only which receive the first parameter as the number of items in the array, and second parameter as the array itself. You are not requested to take input from the console. Constraints

Encode as Number Description A company wishes to encodes its data. The data is in the form of a number. They wish to encode the data with respect to a specific digit. They wish to count the number of times the specific digit reoccurs in the given data so that they can encode the data accordingly. Write an algorithm to find the count of the specific digit in the given data. Input The input consists of two space-separated integers- data and digit, representing the data to be encoded and the digit to be counted in the data. Output Print an integer representing the count of the specific digit. Constraints NA Example Input: 572378233 3 Output:

Security Key Description A company is transmitting data to another server. The data is in the form of numbers. To secure the data during transmission, they plan to obtain a security key that will be sent along with the data. The security key is identified as the count of the repeating digits in the data. Write an algorithm to find the security key for the data. Input The input consists of an integer data, representing the data to be transmitted. Output Print an integer representing the security key for the given data. If no data is repeated it should display -1 Constraints NA Example Input: 578378923 Output: 3 Explanation The repeated digits in the data are 7, 8 and 3. So, the security key is 3. Public Test Cases # Input Expected Output 1 578378923 3 Programming Language: C (GCC 9.2.0)

The middle term in the expansion of is:

A programming team has 13 members comprising of 7 women and 6 men. How many groups of 7 members can be chosen that contains 4 women and 3 men?

C Language implements modular programming by using ........

stdio.h is a ________

Dennis MacAlistair Ritchie or Dennies Ritchie is ________

Is the statement " extern int i; " a declaration or definition

What is the output of the program?#includeint main(){ extern int a; printf("%d\n", a); return 0;}int a=20;

The process of subdividing a computer program into separate sub-programs called ________

By default a real number is treated as a ________

Which of the following special symbol allowed in a variable name ?

Failing to put punctuation is an example of ________

#include { int x = 100; { int x = 200; printf(“%d”, x ); } printf(“%d ”, x );}The output of this program is:

________ holds single precision floating values

A diamond in a flowchart indicates ________

int is an example of ________

Flow chart symbol arrow is used to represent _______

If else statement is an example of ________Compound Selection Iterative Label

Which of the following are shared by two kernel level threads belonging to the same address space?

Which of the following is abstracted by operating system?

Which of the following is true about shell?

Which of the following can have an operating system?

The "seek" system call allows the application program to change the value of the file's offset so that subsequent read/write is performed from a new position in the file. Which of the following task will require the use of seek operation:

Which of the following is typically a part of the operating system but not the kernel?

what is resistance

Digital Content Associate - SGX - Chennai

JNTU Kakinada Started B.Tech in Food Engineering

Catalog Lead

APSSDC is organizing a Series of Webinars on Deep Tech Areas Topic: Understanding Industry 4.0

two taps A and B can fill a tank in 5 and 7 hours respectively .how many hours after opening tab A should tab B be opened , so that the tank gets filed 2 hours after opening tab B?

There is a remainder of 3 when a number is divided by 6. What will be the remainder ifthe square of the same number is divided by 6?

Three 6 faced dice are thrown together. The probability that no three dice show the same number on them is

Three 6 faced dice are thrown together. The probability that exactly two dice show the same number on them is -.

Three 6 faced dice are thrown together. The probability that no two dice show the same number on them is -.

Three 6 faced dice are thrown together. The probability that all the three show the same number on them is -.

Salaries of x y and z are given in ratio 3:5:7 if income of z is 6000 more than y find salary of x​

A user is surfing the Internet using a laptop at a public WiFi cafe. What should be checked first when the user connects to the public network?Select one:

Which type of technology can prevent malicious software from monitoring user activities, collecting personal information, and producing unwanted pop-up ads on a user computer?Select one:

Which configuration on a wireless router is not considered to be adequate security for a wireless network?

How can users working on a shared computer keep their personal browsing history hidden from other workers that may use this computer?

A consumer would like to print photographs stored on a cloud storage account using a third party online printing service. After successfully logging into the cloud account, the customer is automatically given access to the third party online printing service. What allowed this automatic authentication to occur?

What three items are components of the CIA triad? (Choose three.)Select one or more:

Which statement describes cyberwarfare?Select one:

What is a reason that internal security threats might cause greater damage to an organization than external security threats?Select one:

What is an example of "hacktivism"?Select one:A group of environmentalists launch a denial of service attack against an oil company that is responsible for a large oil spill.

What is another name for confidentiality of information?Select one:privacy

What three items are components of the CIA triad? (Choose three.)Select one or more:

Require Sales Officer For Automobile Industry, Bangalore, Exp-0 to 4 yearsExperience required for the Job: 0 - 5 yearsAnnual Salary of the Job: 3.00 - 4.00 LacsJob Location: Bangalore/BengaluruThe sender of this email is registered with Naukri.com as Cybernetic Management Professionals company. To respond back directly to the Employer, please click on Reply button, or send an email to pooja@cmp.co.in