• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 10:34
CEST 16:34
KST 23:34
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
[ASL20] Ro4 Preview: Descent0Team TLMC #5: Winners Announced!3[ASL20] Ro8 Preview Pt2: Holding On9Maestros of the Game: Live Finals Preview (RO4)5TL.net Map Contest #21 - Finalists5
Community News
5.0.15 Patch Balance Hotfix (2025-10-8)60Weekly Cups (Sept 29-Oct 5): MaxPax triples up3PartinG joins SteamerZone, returns to SC2 competition285.0.15 Balance Patch Notes (Live version)119$2,500 WardiTV TL Map Contest Tournament 154
StarCraft 2
General
TL.net Map Contest #21 - Finalists PartinG joins SteamerZone, returns to SC2 competition 5.0.15 Patch Balance Hotfix (2025-10-8) Geoff 'iNcontroL' Robinson has passed away Classic Games #3: Rogue vs Serral at BlizzCon
Tourneys
Sparkling Tuna Cup - Weekly Open Tournament SC2's Safe House 2 - October 18 & 19 RSL Offline Finals Dates + Ticket Sales! SC4ALL $6,000 Open LAN in Philadelphia $2,500 WardiTV TL Map Contest Tournament 15
Strategy
Custom Maps
External Content
Mutation # 494 Unstable Environment Mutation # 493 Quick Killers Mutation # 492 Get Out More Mutation # 491 Night Drive
Brood War
General
[ASL20] Ro4 Preview: Descent Whose hotkey signature is this? Any rep analyzer that shows resources situation? BW General Discussion BGH Auto Balance -> http://bghmmr.eu/
Tourneys
[ASL20] Semifinal A [Megathread] Daily Proleagues [ASL20] Ro8 Day 4 Small VOD Thread 2.0
Strategy
BW - ajfirecracker Strategy & Training Siegecraft - a new perspective TvZ Theorycraft - Improving on State of the Art Current Meta
Other Games
General Games
Nintendo Switch Thread Stormgate/Frost Giant Megathread ZeroSpace Megathread Dawn of War IV Path of Exile
Dota 2
Official 'what is Dota anymore' discussion LiquidDota to reintegrate into TL.net
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
SPIRED by.ASL Mafia {211640} TL Mafia Community Thread
Community
General
US Politics Mega-thread The Games Industry And ATVI Stop the Construction YouTube Thread Things Aren’t Peaceful in Palestine
Fan Clubs
The herO Fan Club! The Happy Fan Club!
Media & Entertainment
Anime Discussion Thread [Manga] One Piece Movie Discussion!
Sports
2024 - 2026 Football Thread Formula 1 Discussion MLB/Baseball 2023 NBA General Discussion TeamLiquid Health and Fitness Initiative For 2023
World Cup 2022
Tech Support
SC2 Client Relocalization [Change SC2 Language] Linksys AE2500 USB WIFI keeps disconnecting Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List Recent Gifted Posts
Blogs
Inbreeding: Why Do We Do It…
Peanutsc
From Tilt to Ragequit:The Ps…
TrAiDoS
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1805 users

Teacher "Ambiguity"

Blogs > EsX_Raptor
Post a Reply
EsX_Raptor
Profile Blog Joined February 2008
United States2801 Posts
May 03 2009 01:03 GMT
#1
So I'm studying for my finals next week, but the review questions our CS teacher gave us are so freaking ambiguous it's not even funny.

It goes like this:


Describe the strings (by giving the name of a language construct) that are represented by the regular expression:

([A-Z]|[a-z]|_)([A-Z]|[a-z]|[0-9]|_)*


Well... from that we can observe that the following:

FA009_zbT
_AA09
z
ABCDEFGHIJKLMNOPQRSTUVWXYZ

And so on, follow the rules of that regular expression. But I'm still confused what's that guy asking for!?



*
allluckysevens7777
Profile Joined February 2009
United States53 Posts
May 03 2009 01:22 GMT
#2
I'd say that it describes identifiers. As in, most (all?) programming languages don't allow variable/function/method/type names to start with digits.

I agree that it is a very ambiguous question though, unless he specifically discussed said language constructs. What class is this for?
tec27
Profile Blog Joined June 2004
United States3701 Posts
May 03 2009 01:24 GMT
#3
Yeah, he's looking for you to give answers as things like "variable names" or "class names" or "function names", etc. Thats what he means by "by giving the name of a language construct", I think
Can you jam with the console cowboys in cyberspace?
EsX_Raptor
Profile Blog Joined February 2008
United States2801 Posts
Last Edited: 2009-05-03 01:30:16
May 03 2009 01:29 GMT
#4
Programming Language Concepts

I think you're right, I just want to know what he means with "by giving the name of a language construct," he never explained to us those (aren't there like, LOTS?)

I know that:

(\+|\-)?[0-9]+\.[0-9]+

represents floating point numbers... so that's why I think you're right that the previous represents identifiers.

edit: yeah, thank you guys!
keV.
Profile Blog Joined February 2009
United States3214 Posts
May 03 2009 03:37 GMT
#5
On May 03 2009 10:24 tec27 wrote:
Yeah, he's looking for you to give answers as things like "variable names" or "class names" or "function names", etc. Thats what he means by "by giving the name of a language construct", I think


This sounds right.
"brevity is the soul of wit" - William Shakesman
AcrossFiveJulys
Profile Blog Joined September 2005
United States3612 Posts
May 03 2009 04:02 GMT
#6
lol good luck man. What year are you?
Tyrant
Profile Joined September 2003
Korea (South)234 Posts
May 03 2009 05:19 GMT
#7
I'd just draw a huge meaty manhood on the paper and hope that he's into dudes.
darktreb
Profile Joined May 2007
United States3016 Posts
May 03 2009 10:32 GMT
#8
Other people have already given the right answer but you should try not to be intimidated by questions like these. Assuming you know your regular expressions, you know that the question was basically asking "what doesn't start with a number and consists of letters, numbers, and underscores?" Thinking about it that way, it becomes a lot clearer.
The_Australian
Profile Blog Joined December 2007
Australia458 Posts
May 03 2009 12:59 GMT
#9
i remember i had a prompt once for English class (the topic was Jason and the argonauts) that was literally "jason, discuss" like, wtf? so i can relate a bit to your problem.
"Nothing should be unstoppable when you see it coming...." - Boxer
errol1001
Profile Joined April 2008
454 Posts
May 03 2009 13:00 GMT
#10
On May 03 2009 21:59 The_Australian wrote:
i remember i had a prompt once for English class (the topic was Jason and the argonauts) that was literally "jason, discuss" like, wtf? so i can relate a bit to your problem.


lol, relate to what problem? The question he posted was in fact not ambiguous at all..
EsX_Raptor
Profile Blog Joined February 2008
United States2801 Posts
May 03 2009 20:45 GMT
#11
I'm a junior, but I'm 19 (so I don't know crap compared to the other guys...) sorry, my brain was literally fried that day (hours of study) now as much as I hate to admit it (literally) it is true what they say about having a good sleep, breakfast, etc, before taking a test x.x
Please log in or register to reply.
Live Events Refresh
OSC
12:00
Masters Cup #150 Qualifier
Liquipedia
Map Test Tournament
11:00
TLMC #15: Playoffs
Reynor vs herOLIVE!
Zoun vs TBD
Clem vs MaxPax
WardiTV1512
ComeBackTV 1226
IndyStarCraft 284
Rex134
EnkiAlexander 20
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Serral 1193
IndyStarCraft 277
Rex 134
ProTech97
MindelVK 40
Codebar 18
Railgan 16
StarCraft: Brood War
Britney 45900
Rain 5265
Hyuk 1929
firebathero 1862
Flash 1829
Horang2 1732
EffOrt 1384
actioN 943
BeSt 687
Light 669
[ Show more ]
Shuttle 625
Mini 590
Stork 447
hero 345
PianO 155
JYJ137
Hyun 129
Last 116
Sharp 95
Backho 77
soO 77
Mong 69
Sea.KH 63
Pusan 46
Killer 41
Yoon 37
Sacsri 37
scan(afreeca) 28
Nal_rA 27
ToSsGirL 25
ivOry 21
Free 21
Movie 19
Noble 17
Terrorterran 17
yabsab 15
Shine 10
Dota 2
Gorgc6448
qojqva3416
XcaliburYe429
Counter-Strike
fl0m1437
Heroes of the Storm
Khaldor389
Liquid`Hasu314
Other Games
singsing2680
B2W.Neo1113
DeMusliM479
Hui .197
KnowMe170
syndereN117
ArmadaUGS66
Mew2King50
Organizations
StarCraft 2
IntoTheiNu 12
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 18 non-featured ]
StarCraft 2
• 3DClanTV 82
• StrangeGG 24
• poizon28 9
• Migwel
• AfreecaTV YouTube
• sooper7s
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
StarCraft: Brood War
• HerbMon 11
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• C_a_k_e 4126
• WagamamaTV838
League of Legends
• Nemesis2992
• Jankos2599
Upcoming Events
IPSL
4h 26m
Bonyth vs Art_Of_Turtle
Razz vs rasowy
Afreeca Starleague
19h 26m
Barracks vs Snow
Wardi Open
20h 26m
Replay Cast
1d 9h
Afreeca Starleague
1d 19h
Soma vs Bisu
OSC
1d 23h
OSC
2 days
PiGosaur Monday
2 days
The PondCast
3 days
OSC
3 days
[ Show More ]
Wardi Open
4 days
CranKy Ducklings
5 days
Safe House 2
6 days
Sparkling Tuna Cup
6 days
Liquipedia Results

Completed

Acropolis #4 - TS2
Maestros of the Game
HCC Europe

Ongoing

BSL 21 Points
ASL Season 20
CSL 2025 AUTUMN (S18)
C-Race Season 1
IPSL Winter 2025-26
WardiTV TLMC #15
EC S1
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025

Upcoming

SC4ALL: Brood War
BSL Season 21
BSL 21 Team A
RSL Offline Finals
RSL Revival: Season 3
Stellar Fest
SC4ALL: StarCraft II
eXTREMESLAND 2025
ESL Impact League Season 8
SL Budapest Major 2025
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2025 TLnet. All Rights Reserved.