# Is Ctrl-C one keystroke or two?

Preliminary question: is it valid to score Excel in keystrokes? I guess it is, but I'm not sure what our policy is.

Assuming it is (or, in general, for languages that are scored in keystrokes), does Ctrl-C count as one keystroke or two?

If it is two, would uppercase "A" be two keystrokes as well? Can for example be assumed that Caps-Lock is initially on?

In case some context is needed: this is the answer that uses Ctrl-C in Excel and caused me to ask about this.

• Well shift+a (i.e. capital A), is one byte or character, so that would be 1 byte. ^C could be represented as control+C. or 0x03 ETX, meaning it depends on context – Downgoat Mar 17 '17 at 22:48
• Related and the dupe link thereof. – AdmBorkBork Mar 17 '17 at 22:48
• @Downgoat The capital "A" characeter is indeed one byte (in most encodings). But my premise is that the language is being scored in keystrokes. So, how many keystrokes is capital "A"? – Luis Mendo Mar 17 '17 at 22:51
• Yet another reason to just score everything by bytes... – Mego Mar 17 '17 at 22:54
• @Mego That may be the case, but doesn't answer my question – Luis Mendo Mar 17 '17 at 22:55
• @LuisMendo Hence why it's a comment and not an answer. – Mego Mar 17 '17 at 22:55
• I think we should ask this first- "Does modifiers (Shift, Ctrl, Alt, etc) count as one keystroke?" – Matthew Roh Mar 19 '17 at 8:07
• I think scoring by keystrokes is not a valid way to score a submission (unless there's a meta post I don't know about). Since you are coming up with a different scoring method, I'm not sure why the number of keystrokes matters. – Nathan Merrill Mar 21 '17 at 3:21
• @NathanMerrill I thought there was, but I can't find a meta post. My question didn't meant to come up with a new method. Rather, that method of scoring is used in the linked answer, so I just wanted to know if counting as a single keystroke was valid or not – Luis Mendo Mar 21 '17 at 10:23

• Yup. ^C is 1 keystroke. It qualifies as one ascii byte. +1 :) – Matthew Roh Mar 18 '17 at 1:23