Write a C Program to Print the initial letter of Name Ferdous

Answers

Answer 1

Answer:

The answer to this question is given below in the explanation section.

Explanation:

The question is about writing a C program that prints the initial letter of Name Ferdous.

Therefore, below is the given complete code that prints the first letter of the name Ferdous.

#include <stdio.h> /*import strandard input/output library*/

#include<string.h> /*import string library to handle string type of data*/

int main(void) /*started the program execution- program entry point*/

{

char *str = "Firdous";   /*char to pointer str contains string "Firdous"*/

int len = strlen(str);   /*this line of code is not neccary, but if you print other character for example last character of the name then you can use it*/

printf("First Letter of the name is: %c", str[0]);  /*print first letter of the name*/

}  /**program terminated*/


Related Questions

_______________ are distinguished from microcontrollers by their complexity and increased on-chip resources.A. Systems on a chip B. Systems on a driveC. Chip on a chip D. Device on a chip

Answers

Answer:

the correct option is (A)

Explanation:

According to the given scenario, the system on a chip is a chip that is different from the microcontrollers in terms of complexity and rise on the chip resources

The system on a chip is a circuit i.e. integrated most the computer things

hence, the correct option is (A).

Therefore the rest of the options are wrong

Answer:

a

Explanation:

When writing code, how can printing be useful?

Answers

Answer:

See Explanation

Explanation:

Printing while writing code can be useful in several ways.

One of which is to determine the progress of your code. Many a times when you write a code and some parts of your codes are not working as expected, you can use the print statement to track where the program stopped working properly.

Take for instance, you write a program of 50 lines of code and you suspect that the program stops working at line 30, you can use the print statement to track this program.

Please note that: the statement to be printed is not specific but you should make use of something unique that you can easily spot.

E.g

print("It worked up till this point")

Which of these is a good example of a user persona?

a
"Clippy, the Microsoft Word mascot"

b
"Teenage power-gamer who plays competitively 10+ hours a day"

c
"The U.S. government"

d
"Mom"

Answers

Answer:

The answer is "Option a".

Explanation:

The consumer is a sub-personality based on the real customer (or perfect). The people were created to improve marketing activities, through speaking to consumers and dividing up the different demographic and geographic data. In the creation of the user persona, it uses Clippy as the symbol for Microsoft Word.

Answer:

The answer is B

Explanation:

in spoofing internet attack, the attackers computer assumes false internet address in order to gain access to a network (true or false

Answers

Answer:

True.

Explanation:

Cyber security can be defined as preventive practice of protecting computers, software programs, electronic devices, networks, servers and data from potential theft, attack, damage, or unauthorized access by using a body of technology, frameworks, processes and network engineers.

Some examples of cyber attacks are phishing, zero-day exploits, denial of service, man in the middle, cryptojacking, malware, SQL injection, spoofing etc.

Spoofing can be defined as a type of cyber attack which typically involves the deceptive creation of packets from an unknown or false source (IP address), as though it is from a known and trusted source. Thus, spoofing is mainly used for the impersonation of computer systems on a network.

Hence, in spoofing internet attack, the attacker's computer assumes false internet address in order to gain access to a network.

Which of the following statements shows the relationship between cellular and wireless technology?
Brainliest to the right answer

Both use radio signals to communicate across distances.

Both were built using telephone infrastructure.

The two can be used together
to help people better communicate.

The two can be used together to drive down cost of service.

Answers

Answer:

The two can be used to help people better communicate.

Explanation:

Wireless technology doesn't use only radio signals, it uses Bluetooth, infrared, satellite signals and others.

They are both expensive.

Not that every wireless technology was built using telephone, like radio waves

Apply Decision Tree Algorithm on the following data:

Answers

Answer:

Sorry can you explain what the question ask

What is computer virus?​

Answers

Answer:

A piece of code which is capable of copying itself and typically has a detrimental effect, such as corrupting the system or destroying data.

Explanation:

A computer virus is a type of computer program that, when executed, replicates itself by modifying other computer programs and inserting its own code. When this replication succeeds, the affected areas are then said to be "infected" with a computer virus.

Simply, a computer virus is a harmful multiplying code that harms your computer and makes it slower, harder to use, and more vulnerable to other harmful unsafe software, apps, downloads and more.

How to get it?

You can get computer viruses just from going to unsafe websites downloading harmful files downloading harmful images downloading harmful videos clicking unsafe advertisements

and thats just a couple of examples, there's many many more but you get the idea.

Something that really sucks about computer viruses is that its hard to tell if something online is dangerous or not.

That's why people make specific softwares to protect your computer but even those can be unsafe or people could be trying to trick you.

Sometimes the computer will already have some sort of app or software to protect it from these harmful files, but make sure to pay attention when your on websites and check the urls and make sure it doesn't say anything along the lines of "unsafe" if it says that just simply exit the website and dont do anything further.

If your experiencing slowness, files you don't remember saving on your computer or extra files and apps that dont seem to belong, im sure there are places you can call online or in your local area to help with these issues.

Hope this helped!!

Write and test a program that accepts the user’s name (as text) and age (as a number) as input.

The program should output a sentence containing the user’s name and age.

Answers

name = input("Enter your name: ")

age = int(input("Enter your age: "))

print("Your name is",name,"and you are",age,"year(s) old.")

I wrote my code in python 3.8. I hope this helps.

Program description:

Defining header file.Defining the main method.In the next step,  the character array as "name" and an integer variable "age" is declared that uses the input method to the input value.After input value, a print method is declared that prints value with the message.

Program:

#include <stdio.h>//header file

int main()//defining main method

{

   char name[50];//defining character array as name

   int age;//defining integer variable

   printf("Enter name: ");//print message

   scanf("%s",name);//input name

   printf("Enter age: ");//print message

   scanf("%d",&age);//input age

   printf("Hi.. \%s",name); //print value with message

   printf(" your age is %d.",age);//print value with message

   return 0;

}

Output:

Please find the attached file.

Learn more:

brainly.com/question/13160158

Finish the code to search for a 7 in the array.
from array import *
myArr = array('f',[3, 5, 7.3, 10])
location = myArr.
(7)

Answers

Answer:

The complete code is as follows:

from array import *

myArr = array('f',[3, 5, 7,3, 10])

location = myArr.index(7)

print(str("7")+" is at position "+str(location+1))

Explanation:

I made corrections to the third line of the code and I added a line

This line gets the index of 7 from the array myArr using the index keyword

location = myArr.index(7)

This line prints the position of the 7 in the array

print(str("7")+" is at position "+str(location+1))

A company has a hybrid ASP.NET Web API application that is based on a software as a service (SaaS) offering.Users report general issues with the data. You advise the company to implement live monitoring and use ad hoc queries on stored JSON data. You also advise the company to set up smart alerting to detect anomalies in the data.You need to recommend a solution to set up smart alerting.What should you recommend?A. Azure Security Center and Azure Data Lake StoreB. Azure Data Lake Analytics and Azure Monitor LogsC. Azure Application Insights and Azure Monitor LogsD. Azure Site Recovery and Azure Monitor Logs

Answers

Answer: B. Azure Data Lake Analytics and Azure Monitor Logs

Explanation:

There is a feature on Azure Monitor called Application Insights. This feature offers clients the ability to implement live monitoring of applications as well as detect anomalies.

With its analytics tools, clients can diagnose the issues reported by users as well as follow and understand the activities of users.

Three PCs are on an Ethernet LAN, connected by a hub. Describe how the Ethernet protocol deals with collisions in this situation. How would the situation change if the hub were replaced by a switch?

Answers

Answer:

All the ports in a hub are in the same collision domain and a hub sends frames from one host to all other hosts in the network. This makes it prone to collision and poor network throughput. Just like a network switch, it uses the CSMA/CD protocol to detect collision in its network.

A network switch reduces its collision domain to just a port and sends frames from one host to another using its mac table as a route. This makes the network very efficient with high throughput. It also uses the CSMA/CD protocol to detect collision

Explanation:

Switches and hubs are used in networking to connect computer devices in a network. A hub is an obsolete device networking that broadcast a frame to all other ports or host in the network except for the send host port. This increases the rate of collision as all the ports in a hub share the same collision domain. A switch is an efficient frame switching device in a network, which uses its MAC table to decide and find a destination host.

CSMA/CD is a collision detection protocol used in a network to detect and prevent a collision. With this protocol, a host is able to listen, wait, send and resend frames to prevent a collision.

Assume that x and y are boolean variables and have been properly initialized.(x && y) || !(x && y) The result of evaluating the expression above is best described as (A) always true (B) always false (C) true only when x is true and y is true (D) true only when x and y have the same value (E) true only when x and y have different values

Answers

Answer:

(A) Always true

Explanation:

Given

Boolean variables x and y

Required

What is (x && y) || !(x && y)

Irrespective of what x or y is, the x && y is always true

Take for instance:

x = true;

y = true;

x&&y will also be true because the values of x and y were not altered

And this is true for whatever boolean value x or y assume

Having said that:

x&&y = true

So, the expression is analysed as follows:

(x && y) || !(x && y)

Substitute true for x&&y

(true) || !(true)

!(true) = false

So, the expression becomes:

true || false

|| represents the OR operator; and it returns true if at least one of the conditions is true.

By this:

true || false = true

Option (A) Always true answers the question.

Write a program that reads an integer and determines and prints whether it is odd or even.

Answers

num = int(input("Enter a number: "))

print(str(num)+" is even" if num % 2 == 0 else str(num)+" is odd")

I wrote my code in python 3.8. Best of luck.

helppp pleassseeeee thank youuuu​

Answers

Answer:

C

Explanation:

Because You don't need indented letters

In this exercise, first run the code as it is given to see the intended output. Then trace through each of the 3 variables to see what is actually going on in memory. Show the values of str1, str2, and str3 and the output after each line of code on a piece of paper.

Answers

Answer:

The memory with variable names str1, str2, and str3 all have equal and the same value after the first if-statement.

Explanation:

The str1 was first assigned a null value while the str2 and str3 were assigned the string value "Karen" with the String class and directly respectively. On the first if-statement, the condition checks if the str1 is null and assigns the value of the variable str2 to str1, then the other conditional statement compares the values of all the string variables.

the {blank} view is the working window of a presentation.
A. Outline
B. Handout
C. Notes
D. Slide

Answers

The view which serves as the working window of a presentation is: D. Slide.

The types of view.

On Microsoft PowerPoint, there are three (3) main types of views and these include the following:

Slide sorter viewSlide show viewSlide (Normal) view

What is slide view?

Slide view is also referred to as Normal view and it can be defined as the main working window of a presentation when using Microsoft PowerPoint.

Under the Slide view, the slides are displayed on a computer monitor in full screen. Thus, it is a view which serves as the working window of a presentation.

Read more on slides here: https://brainly.com/question/26187618

#SPJ2

d. slide

cuz i said so lol.

A data structure to store trees with an arbitrary number of children at each node is: public class TreeNode / Integer data, TreeNode firstChild; TreeNode nextSibling / Write a recursive Java method to return the leaf node with minimum value given the root of the tree. All elements are unique and if there are no leaf nodes you should return null. Your method signature should be: _______

Answers

Answer:

TreeNode minimum(TreeNode root) {

   if (root != null) {

       if (firstChild == null && nextSibling == null) {

           return root;

       } else {

           TreeNode begin = minimum(root.firstChild);

           TreeNode last = minimum(root.nextSibling);

           if (begin == false && (last == false || begin.data < last.data)) {

               return begin;

           } else {

               return last;

           }

   } else {

       return null;

   }

}

Explanation:

The Java program defines a recursive method called minimum that calls itself twice with the first and last leaf of the treenode as the respective arguments. and returns the minimum value of the treenode if the root argument is not undefined.

For a parking application that lets you pay for parking via your phone, which of these is an example of a functional requirement that would be listed for parking officers?

a
add and store payment information

b
displaying hourly costs

c
transact remote payment for parking

d
register a fine

Answers

Answer:

b. displaying hourly costs

Explanation:

Displaying hourly costs would be very useful for parking staff because it would allow customers to understand how the charge for the service was made, without the need for an employee to have to explain it. In this way, work becomes less stressful and more optimized.

Which of these is an advantage of having multiple layers in a drawing and enables you to make changes to one part of an image without accidentally changing other parts it keeps the file size small and manageable it makes it easier to open the data file in different drawing applications it makes the print out a higher quality

Answers

Answer:

enables you to make changes to one part of an image without accidentally changing other parts

Explanation:

Computer aided designs incorporate the use of multiple layers in drawings. The first layer is known as the layer 0, while the present layer the designer is working on is known as the current layer. The advantage of the incorporation of layers in designs include the following

1. It helps objects to be altered, grouped, hidden and moved as the designer wishes.

2. Layers can be grouped and worked on separated and common properties like color and line weight assigned to them.

3. Layers can be manipulated as the user wishes. They can be locked, frozen, turned off, etc.  Locking prevents accidental changes being made on objects.

Consider the following code segment which makes use of the list deck and the positive integer i: Which of the following could be displayed when this segment of code is executed, assuming that the block will sort the parameter list in alphabetical order from A to Z, and the user responds to each input? Steve Andrew Kevin Alex Joe Matt Sally Heather Barbie Tim Tim Tim

Answers

Answer: A) Steve Andrew Kevin

B) Alex Joe Matt C) Sally Heather Barbie D) Tim Tim Tim

Explanation:

In this exercise we have to use the knowledge of computational language in python to write the following code:

The code can be found in the attached image.

That way, to find it more easily we have the code like:

#Create a list of strings (names).

students = ['Steve" ,"Andrew ","Kevin", "Alex", "Joe ","Matt" , "Sally" ,"Heather ","Barbie" ,"Tim", "Tim", "Tim"]

student_name = "Lupe"

# Add student name to front of the list.

students.insert(0,student_name)

#Show me the new list.

print(students)

See more about python at brainly.com/question/26104476

Once you start designing the processing logic for each function of your software, you might end up throwing out your logical data model design and completely redesigning it.

a
False

b
True

Answers

Answer:

B. True.

Explanation:

Software development life cycle (SDLC) can be defined as a strategic process or methodology that defines the key steps or stages for creating and implementing high quality software applications.

An incremental model refers to the process in which the requirements or criteria of the software development is divided into many standalone modules until the program is completed.

Hence, an incremental method typically involves developing a system through repeated cycles and smaller portions at a time, enhancing and evolving the system over time.

A database schema is a structure which is typically used to represent the logical design of the database and as such represents how data are stored or organized and the relationships existing in a database management system. There are two (2) main categories of a database schema; physical database schema and logical database schema.

Hence, once you start designing the processing logic for each function of your software, you might end up throwing out your logical data model design and completely redesigning it because each function would use a specific processing logic respectively.

What TCP message will be generated for an incoming SYN request for which is there no matching LISTENING port

Answers

Answer:

"Connection Refused"

Explanation:

This is the error message that is returned when the server is not listening on the correct port, or the server is offline.

Cheers.

The TCP message that will be generated for an incoming SYN request for which is there no matching LISTENING port is; “Connection Refused”.

TCP stands for Transmission Control Protocol and in the given situation in the question, the first step of the client application is to send the first packet with “SYN” flag.

Now, when the above situation happens, the server will listen on the specified port and give a response of SYN-ACK packet so that it c an acknowledge the “SYN”packet requested by the client application which will generate a reply with ACK packet response that will make the established connection to end.

Finally, for an incoming SYN request for which is there no matching LISTENING port, the connection will be rejected with an “RST” flag that gives output an error message named “Connection Refused”.

Read more about TCP at; https://brainly.com/question/24967184

before the 20th century how did most people experience computing​

Answers

Answer:

   

Explanation:

A Flash Translation Layer translates user data to a format that can be written on the NVM. tracks which physical block contains the most number of consecutive invalid pages. tracks which physical block contains only valid pages. tracks which physical block contains only invalid pages.

Answers

Answer:

tracks which physical block contains only valid pages.

Explanation:

Flash translation layer or FTL is a system made up of software and hardware that manages solid-state drive or SSD operations. It implements data concurrency techniques like striping, interleaving, and pipelining to generate a high throughput. It also performs logical to physical addressing amongst other functionalities.

The FTL also tracks which physical block in the memory that contains only valid pages by performing a bad block management process, isolating and discarding the blocks with no valid pages

type the correct answer in the box. Spell all words correctly. Which element of the presentation software can you use to add callouts and banners? using ____, you can add callouts and banners to a slide

Answers

Answer:

The element of the presentation software that can be used to add callous and banners is SHAPES

Using the INSERT TAB, you can add callouts and banners to a slide.

Explanation:

If you want to add callouts and banners to a slide, the presentation software that can be used is PowerPoint.

The element that is used to add it is called shapes and can be found in the Insert Tab.

Answer:

using shapes , you can add callouts and banners to a slide

Explanation:

A feedback loop is:
A. a hyperlink to another part of a story.
B. an endless cycle of creation and response.
C. the excitement people feel about networking.
D. the best method for creating a story.

Answers

Answer:

c

Explanation:

A feedback loop is the excitement people feel about networking

What is feedback loop?

A feedback loop can be used in learning process, where the output or results is used as again as data for another process.

Therefore, A feedback loop is the excitement people feel about networking

Lear more on feedback loop below

https://brainly.com/question/13809355

#SPJ9

Define persuasion. What would you like to persuade your parents to do or think? Explain which of the three goals of persuasive speech you would need to accomplish to achieve this.

Answers

Answer:

Persuasive communication is a form of interpersonal communication that aims to influence the communication partner. The primary goal of persuasive communication is to achieve changes in attitudes, but not understanding or exchanging information. Thus, basically, persuasion seeks to convince the receiver of the message of the idea emitted by the sender of the same.

In my particular case, I would like to persuade my parents to let me drive my father's car, which because it is a new car and of a quality model is restricted to me. To do this, I should use the argumentative and probative method, showing his false mistrust of me and proving that I can drive the car without problems.

Answer:

Answers will vary. Persuasion: – The act of convincing or influencing someone to act or think in a particular way. Answers will vary regarding what students would like to persuade their parent to do or think. An action or some change to beliefs, attitudes, values should be discussed. One of the three goals should be listed.

Explanation:

edge21

You’re having trouble connecting to the Internet so you call your Internet service provider for help. They need to know the permanent unique identifier of your networking device to help them troubleshoot. What are they asking for?

Answers

answer: from when it stopped working?

How do you distinguish between misrepresentation and embellishment of one’s professional accomplishments on a résumé? Provide an example of an embellishment that would not be considered misrepresentation.

Answers

How do you distinguish, well misrepresentation and embellishment of one professional accomplishments

what are the use of computer at office?​

Answers

Answer:

playing games XD

Explanation:

hahahahahahahahhaha

Answer:

Some of the many uses of computers in office work are writing letters, sending emails, scheduling meetings and collaborating with co-workers and clients. This has extended to mobile devices, which professionals now use to read and respond to email, access business files, update social media and more.

Explanation:

Other Questions
What is the number that has a value 10 times the value of 0.009? Tyler had $25 in his bank account. Saving up for a new bike, he madethree deposits of $32 each. What was the total amount of money inhis account after making the three deposits?HELPP PLEASE A slow boat to china travels at a constant speed of 17.25 miles per hour for 200 hours. how far was the voyage? How did spears in spear throwers most likely help hunter gatherers? PLEASE HURRY What should the following equation be multiplied by in order to eliminate the fractions? {2y}{3} + {1}{3} = {y}{2} + {1}{6} Is creativity something that can be measured? Should it be? Why or Why not? What are 2 ways the teen brain is growing and changing? On holidays three friends decided to buy a Christmas tree for $96. They made a cash contribution of 3: 5: 8. The two friends who invested less decided to return the third friend's money so that their cash contributions became the same. What is the ratio of the money returned by the first person to the money returned by the second person 2. Why do ions form? 8a + 3b 4c and 4a 3b + c?What is the answer I need help? Define the term electrical resistance as applied to current electricity what is Promote the general welfare and why was it important in creating a strong nation What is the difference between an argument and an informational essay? 72 equals 83 decreased by a number Which principle of the U.S. Constitution is explained in the excerpt? Your neighbor borrowed your new lawn mower and used it to trim his rock garden thus destroying it. Your lawn mower which cost you $100 at Home Depot. Your neighbor refuses to pay for it. You have to sue him in a Texas court to be compensated for your loss. What court will you go to What is the wavelength of a wave with energy equal to 1.528 x 10-13 J? E=hc/LaTeX: \lambda Energy= Measured in Joules h=Plank's constant, 6.626 x 10-34 J x s c=speed of light, 3.00 x108 m/s LaTeX: \lambda= wavelength in meters Group of answer choices 1.301 x 1029 m 6.918 x 1028m 6.918 x 10-13m 1.301 x 10-12m rewrite the expression in the form a^n. (a^5)^2 d. One holding pen uses 500 feet of fencewire and 100 feet of tie wire. A farmeruses a combined length of 1,000 yards ofwire. What length of tie wire was used?Help me Which is an example of specialization?A business makes many different types of goodsA country buys all the goods it needs from other countries and does not produce any of its ownA business focuses on producing one or two types of goods and leaves the production of other goods to other businessesA violin-maker completes the entire process of making a violin from cutting a tree for wood to producing his own strings Steam Workshop Downloader